mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-05 02:51:49 +00:00
MSVC build fix
This commit is contained in:
parent
868ec6ee2e
commit
a82e8706d4
2 changed files with 3 additions and 3 deletions
|
|
@ -17,8 +17,8 @@ void AssetsLoader::addLoader(int tag, aloader_func func) {
|
|||
loaders[tag] = func;
|
||||
}
|
||||
|
||||
void AssetsLoader::add(int tag, const std::string filename, const std::string alias) {
|
||||
entries.push(aloader_entry{ tag, filename, alias });
|
||||
void AssetsLoader::add(int tag, const path filename, const std::string alias) {
|
||||
entries.push(aloader_entry{ tag, filename.string(), alias});
|
||||
}
|
||||
|
||||
bool AssetsLoader::hasNext() const {
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@ class AssetsLoader {
|
|||
public:
|
||||
AssetsLoader(Assets* assets, std::filesystem::path resdir);
|
||||
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 loadNext();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue