Skip to content

Commit

Permalink
Drop unused struct ModLicenseInfo & ModAuthorInfo + default construct…
Browse files Browse the repository at this point in the history
…or in ModMetadata
  • Loading branch information
nerzhul committed Mar 9, 2018
1 parent 2c860a6 commit 3b27cf3
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions src/mods.h
Expand Up @@ -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"

Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit 3b27cf3

Please sign in to comment.