fix msvc linker error

This commit is contained in:
A-lex-Ra 2023-12-16 18:55:54 +06:00
parent 924957ddee
commit 89d9447410
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
namespace fs = std::filesystem;
ContentLoader::ContentLoader(const ContentPack* pack) : pack(pack) {
ContentLoader::ContentLoader(ContentPack* pack) : pack(pack) {
}
// TODO: add basic validation and logging

View File

@ -11,7 +11,7 @@ class ContentBuilder;
class ContentLoader {
const ContentPack* pack;
public:
ContentLoader(const ContentPack* pack);
ContentLoader(ContentPack* pack);
Block* loadBlock(std::string name, std::filesystem::path file);
void load(ContentBuilder* builder);