extend ReadFile implementation

This commit is contained in:
ohyzha
2024-10-07 11:01:27 +03:00
parent 8c2cf49054
commit f8b85690b8
2 changed files with 18 additions and 3 deletions

View File

@@ -183,7 +183,8 @@ namespace OpenVulkano
return subs;
}
static Array<char> ReadFile(const std::string& filePath, bool emptyOnMissing = false,
template<typename T>
static Array<char> ReadFile(const T& filePath, bool emptyOnMissing = false,
bool nullTerminateString = false);
template<class T>