mirror of
https://github.com/verilator/verilator.git
synced 2026-10-06 10:03:44 +02:00
Internals: Cleanup find with chars for clang-tidy. No functional change.
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ private:
|
||||
// Reference to scope of cell directly under this module, can just "cell->"
|
||||
string name = scopep->name();
|
||||
string::size_type pos;
|
||||
if ((pos = name.rfind(".")) != string::npos) {
|
||||
if ((pos = name.rfind('.')) != string::npos) {
|
||||
name.erase(0,pos+1);
|
||||
}
|
||||
m_needThis = true;
|
||||
|
||||
Reference in New Issue
Block a user