mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Use C++14 quoted literal std::string
This commit is contained in:
+1
-1
@@ -367,7 +367,7 @@ class ParamProcessor final {
|
||||
const auto pair = m_valueMap.emplace(hash, 0);
|
||||
if (pair.second) pair.first->second = m_nextValue++;
|
||||
num = pair.first->second;
|
||||
return std::string{"z"} + cvtToStr(num);
|
||||
return "z"s + cvtToStr(num);
|
||||
}
|
||||
string moduleCalcName(const AstNodeModule* srcModp, const string& longname) {
|
||||
string newname = longname;
|
||||
|
||||
Reference in New Issue
Block a user