From 3b27cf30d99a5b4e82677c253bee269574edbaa0 Mon Sep 17 00:00:00 2001 From: Loic Blot Date: Fri, 9 Mar 2018 08:36:42 +0100 Subject: Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata --- src/mods.h | 13 ++----------- 1 file 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 #include #include +#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; -- cgit v1.2.3