From 6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 25 Sep 2013 13:48:24 +0300 Subject: improve a bit strings declaration. --- src/utils/cpu.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/utils/cpu.cpp') diff --git a/src/utils/cpu.cpp b/src/utils/cpu.cpp index 7f78341b5..e4615b4dd 100644 --- a/src/utils/cpu.cpp +++ b/src/utils/cpu.cpp @@ -90,7 +90,7 @@ void Cpu::detect() void Cpu::printFlags() { - std::string str = "CPU features:"; + std::string str("CPU features:"); if (mCpuFlags & FEATURE_MMX) str.append(" mmx"); if (mCpuFlags & FEATURE_SSE) -- cgit v1.2.3-70-g09d2