mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-31 18:31:04 +00:00
Address some clang-tidy warnings
This commit is contained in:
parent
322c4a5b2b
commit
961652c2e9
17 changed files with 35 additions and 36 deletions
|
@ -625,7 +625,7 @@ void Schematic::condenseContentIds()
|
|||
numids++;
|
||||
|
||||
m_nodenames.push_back(m_ndef->get(c).name);
|
||||
nodeidmap.emplace(std::make_pair(c, id));
|
||||
nodeidmap.emplace(c, id);
|
||||
} else {
|
||||
id = it->second;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue