Fix a bunch of -Wunqualified-std-cast-call warnings from clang 15

This commit is contained in:
Tim Wojtulewicz 2023-03-24 13:42:05 -07:00
parent 96bbb96b35
commit 7aa310ee50
13 changed files with 98 additions and 93 deletions

View file

@ -104,7 +104,7 @@ bool CPPCompile::AddGlobal(const string& g, const char* suffix)
void CPPCompile::RegisterEvent(string ev_name)
{
body_events[body_name].emplace_back(move(ev_name));
body_events[body_name].emplace_back(std::move(ev_name));
}
const string& CPPCompile::IDNameStr(const ID* id)