Skip to content
Permalink
Browse files

Drop unused struct ModLicenseInfo & ModAuthorInfo + default construct…

…or in ModMetadata
  • Loading branch information
nerzhul committed Mar 9, 2018
1 parent 2c860a6 commit 3b27cf30d99a5b4e82677c253bee269574edbaa0
Showing with 2 additions and 11 deletions.
  1. +2 −11 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 @@ class ClientModConfiguration: public ModConfiguration
};
#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;

0 comments on commit 3b27cf3

Please sign in to comment.