mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Use emplace instead of insert(make_pair(...)). No functional change intended.
This commit is contained in:
+1
-1
@@ -344,7 +344,7 @@ void V3PreProcImp::define(FileLine* fl, const string& name, const string& value,
|
||||
}
|
||||
undef(name);
|
||||
}
|
||||
m_defines.insert(make_pair(name, VDefine(fl, value, params, cmdline)));
|
||||
m_defines.emplace(name, VDefine(fl, value, params, cmdline));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user