Skip to content

Commit 3b27cf3

Browse files
committed
Drop unused struct ModLicenseInfo & ModAuthorInfo + default constructor in ModMetadata
1 parent 2c860a6 commit 3b27cf3

File tree

1 file changed

+2
-11
lines changed

1 file changed

+2
-11
lines changed

src/mods.h

+2-11
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
2727
#include <map>
2828
#include <json/json.h>
2929
#include <unordered_set>
30+
#include "util/basic_macros.h"
3031
#include "config.h"
3132
#include "metadata.h"
3233

@@ -146,20 +147,10 @@ class ClientModConfiguration: public ModConfiguration
146147
};
147148
#endif
148149

149-
struct ModLicenseInfo {
150-
int id;
151-
std::string shortinfo;
152-
std::string url;
153-
};
154-
155-
struct ModAuthorInfo {
156-
int id;
157-
std::string username;
158-
};
159-
160150
class ModMetadata: public Metadata
161151
{
162152
public:
153+
ModMetadata() = delete;
163154
ModMetadata(const std::string &mod_name);
164155
~ModMetadata() = default;
165156

0 commit comments

Comments
 (0)