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
@@ -409,7 +409,7 @@ private:
|
||||
break;
|
||||
}
|
||||
// If foo.bar, and foo is an interface, then need to search again for foo
|
||||
string::size_type pos = tryname.rfind(".");
|
||||
string::size_type pos = tryname.rfind('.');
|
||||
if (pos == string::npos || pos==0) {
|
||||
break;
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user