Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata

This commit is contained in:
Loic Blot 2018-03-09 08:36:42 +01:00 committed by Loïc Blot
parent 2c860a6a42
commit 3b27cf30d9

@ -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;