Fix music manager clang error (thanks jart)

This commit is contained in:
Lach 2023-08-15 20:37:21 +10:00
parent a871fb702e
commit 962273044c

View file

@ -46,11 +46,11 @@ public:
Tune& insert(const char* id)
{
auto [it, inserted] = map_.emplace(id, Tune{});
auto res = map_.emplace(id, Tune{});
SRB2_ASSERT(inserted);
SRB2_ASSERT(res.second);
return it->second;
return res.first->second;
}
void tick();