Whoops, can't pass a std::string through to the format method.

This commit is contained in:
casey langen 2019-01-19 18:05:21 -08:00
parent 1a326b640b
commit 837539a73b

View File

@ -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"