MSVC build fix
This commit is contained in:
@@ -14,11 +14,11 @@
|
||||
|
||||
class Assets;
|
||||
|
||||
typedef std::function<bool(Assets*, const std::string&, const std::string&)> aloader_func;
|
||||
typedef std::function<bool(Assets*, const std::filesystem::path&, const std::string&)> aloader_func;
|
||||
|
||||
struct aloader_entry {
|
||||
int tag;
|
||||
const std::string filename;
|
||||
const std::filesystem::path filename;
|
||||
const std::string alias;
|
||||
};
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user