MSVC buid fix
This commit is contained in:
@@ -17,7 +17,7 @@ void AssetsLoader::addLoader(int tag, aloader_func func) {
|
|||||||
loaders[tag] = func;
|
loaders[tag] = func;
|
||||||
}
|
}
|
||||||
|
|
||||||
void AssetsLoader::add(int tag, const std::string filename, const std::string alias) {
|
void AssetsLoader::add(int tag, const path filename, const std::string alias) {
|
||||||
entries.push(aloader_entry{ tag, filename, alias });
|
entries.push(aloader_entry{ tag, filename, alias });
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ class AssetsLoader {
|
|||||||
public:
|
public:
|
||||||
AssetsLoader(Assets* assets, std::filesystem::path resdir);
|
AssetsLoader(Assets* assets, std::filesystem::path resdir);
|
||||||
void addLoader(int tag, aloader_func func);
|
void addLoader(int tag, aloader_func func);
|
||||||
void add(int tag, const std::string filename, const std::string alias);
|
void add(int tag, const std::filesystem::path filename, const std::string alias);
|
||||||
|
|
||||||
bool hasNext() const;
|
bool hasNext() const;
|
||||||
bool loadNext();
|
bool loadNext();
|
||||||
|
|||||||
Reference in New Issue
Block a user