summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/utils/cpu.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp
index 93353baf5..0df53f06f 100644
--- a/src/utils/cpu.cpp
+++ b/src/utils/cpu.cpp
@@ -69,7 +69,7 @@ void Cpu::detect()
std::string str = buf;
if (findFirst(str, "flags"))
{
- size_t idx = str.find(":");
+ size_t idx = str.find(':');
if (idx == std::string::npos)
continue;
str = str.substr(idx + 1);