Change-Id: Ia132b381230bf7ddae4d951911be177a928143df
This commit is contained in:
Evgeny
2018-07-25 16:29:18 -05:00
parent 4d790c8eee
commit a6480a825f
-2
View File
@@ -173,10 +173,8 @@ std::string filtr_kernel_name(const std::string name) {
}
++rit;
}
// while (((*rit == ' ') || (*rit == ' ')) && (rit != rend)) rit++;
while (rit != rend) if ((*rit == ' ') || (*rit == ' ')) rit++; else break;
auto rbeg = rit;
// while ((*rit != ' ') && (*rit != ':') && (rit != rend)) rit++;
while (rit != rend) if ((*rit != ' ') && (*rit != ':')) rit++; else break;
const uint32_t pos = rend - rit;
const uint32_t length = rit - rbeg;