mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-01-11 05:58:04 -05:00
Adds const to DirtyDirectory std::string
This commit is contained in:
parent
b774252f0c
commit
0573a1b2ac
@ -293,7 +293,7 @@ namespace Ship {
|
|||||||
return LoadedList;
|
return LoadedList;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> ResourceMgr::DirtyDirectory(std::string& SearchMask) {
|
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> ResourceMgr::DirtyDirectory(const std::string& SearchMask) {
|
||||||
auto PromiseList = CacheDirectoryAsync(SearchMask);
|
auto PromiseList = CacheDirectoryAsync(SearchMask);
|
||||||
auto LoadedList = std::make_shared<std::vector<std::shared_ptr<Resource>>>();
|
auto LoadedList = std::make_shared<std::vector<std::shared_ptr<Resource>>>();
|
||||||
|
|
||||||
|
@ -40,7 +40,7 @@ namespace Ship {
|
|||||||
std::variant<std::shared_ptr<Resource>, std::shared_ptr<ResourcePromise>> LoadResourceAsync(const char* FilePath);
|
std::variant<std::shared_ptr<Resource>, std::shared_ptr<ResourcePromise>> LoadResourceAsync(const char* FilePath);
|
||||||
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> CacheDirectory(const std::string& SearchMask);
|
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> CacheDirectory(const std::string& SearchMask);
|
||||||
std::shared_ptr<std::vector<std::shared_ptr<ResourcePromise>>> CacheDirectoryAsync(const std::string& SearchMask);
|
std::shared_ptr<std::vector<std::shared_ptr<ResourcePromise>>> CacheDirectoryAsync(const std::string& SearchMask);
|
||||||
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> DirtyDirectory(std::string& SearchMask);
|
std::shared_ptr<std::vector<std::shared_ptr<Resource>>> DirtyDirectory(const std::string& SearchMask);
|
||||||
std::shared_ptr<std::vector<std::string>> ListFiles(std::string SearchMask);
|
std::shared_ptr<std::vector<std::string>> ListFiles(std::string SearchMask);
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
Loading…
Reference in New Issue
Block a user