mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 01:54:01 +02:00
Internals: Use standard 'result' name for return variable. No functional change.
This commit is contained in:
+3
-3
@@ -70,9 +70,9 @@ inline uint32_t cvtToHash(const void* vp) {
|
||||
}
|
||||
|
||||
inline string ucfirst(const string& text) {
|
||||
string out = text;
|
||||
out[0] = std::toupper(out[0]);
|
||||
return out;
|
||||
string result = text;
|
||||
result[0] = std::toupper(result[0]);
|
||||
return result;
|
||||
}
|
||||
|
||||
//######################################################################
|
||||
|
||||
Reference in New Issue
Block a user