Cleanup misc clang-tidy warnings. No functional change intended

This commit is contained in:
Wilson Snyder
2020-04-03 22:31:54 -04:00
parent 27516b565d
commit 38a31ae168
42 changed files with 245 additions and 215 deletions
+2 -2
View File
@@ -1024,10 +1024,10 @@ public:
string out;
string::size_type start = 0;
// space, ., ->
while (1) {
while (true) {
// When C++11, use find_if and lambda
string::size_type pos = string::npos;
string separator = "";
string separator;
trySep(old, start, " ", pos/*ref*/, separator/*ref*/);
trySep(old, start, ".", pos/*ref*/, separator/*ref*/);
trySep(old, start, "->", pos/*ref*/, separator/*ref*/);