mirror of
https://github.com/luanti-org/luanti.git
synced 2025-08-11 17:51:04 +00:00
Various random code cleanups
This commit is contained in:
parent
358658fa34
commit
7892541383
73 changed files with 216 additions and 285 deletions
|
@ -27,7 +27,7 @@ void ProfilerGraph::draw(s32 x_left, s32 y_bottom, video::IVideoDriver *driver,
|
|||
for (const auto &i : piece.values) {
|
||||
const std::string &id = i.first;
|
||||
const float &value = i.second;
|
||||
std::map<std::string, Meta>::iterator j = m_meta.find(id);
|
||||
auto j = m_meta.find(id);
|
||||
|
||||
if (j == m_meta.end()) {
|
||||
m_meta[id] = Meta(value);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue