mirror of
https://github.com/clangen/musikcube.git
synced 2024-11-19 20:13:36 +00:00
Whoops, can't pass a std::string through to the format method.
This commit is contained in:
parent
1a326b640b
commit
837539a73b
@ -47,7 +47,7 @@ static std::unordered_map<std::string, std::weak_ptr<Preferences> > componentCac
|
||||
static std::unordered_map<std::string, std::shared_ptr<Preferences> > pluginCache;
|
||||
static std::mutex cacheMutex;
|
||||
|
||||
#define CACHE_KEY(name, mode) u8fmt("%s-%d", name, mode)
|
||||
#define CACHE_KEY(name, mode) u8fmt("%s-%d", name.c_str(), mode)
|
||||
|
||||
#define FILENAME(x) musik::core::GetDataDirectory() + "/" + x + ".json"
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user