diff options
author | Loic Blot <loic.blot@unix-experience.fr> | 2018-03-09 08:36:42 +0100 |
---|---|---|
committer | Loïc Blot <nerzhul@users.noreply.github.com> | 2018-03-09 23:27:26 +0100 |
commit | 3b27cf30d99a5b4e82677c253bee269574edbaa0 (patch) | |
tree | dc92f920127bd7d3bdf9c949371fc2a98413e68a | |
parent | 2c860a6a420e16289c56f6185f333a2dd0cde386 (diff) | |
download | minetest-3b27cf30d99a5b4e82677c253bee269574edbaa0.tar.gz minetest-3b27cf30d99a5b4e82677c253bee269574edbaa0.tar.bz2 minetest-3b27cf30d99a5b4e82677c253bee269574edbaa0.zip |
Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata
-rw-r--r-- | src/mods.h | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/src/mods.h b/src/mods.h index c16df30e6..9f4d29739 100644 --- a/src/mods.h +++ b/src/mods.h @@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc., #include <map> #include <json/json.h> #include <unordered_set> +#include "util/basic_macros.h" #include "config.h" #include "metadata.h" @@ -146,20 +147,10 @@ public: }; #endif -struct ModLicenseInfo { - int id; - std::string shortinfo; - std::string url; -}; - -struct ModAuthorInfo { - int id; - std::string username; -}; - class ModMetadata: public Metadata { public: + ModMetadata() = delete; ModMetadata(const std::string &mod_name); ~ModMetadata() = default; |