summaryrefslogtreecommitdiff
path: root/src/utils/cpu.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
committerAndrei Karas <akaras@inbox.ru>2013-09-25 13:48:24 +0300
commit6c05739c62484dae8d5ed9fb0dfdb6590aacfe88 (patch)
treedf4a3e32b8ad9e77d894280966a0066f4aef0a94 /src/utils/cpu.cpp
parent9a970ba6bc80938b56f3ba731bf4614b40ba573d (diff)
downloadmv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.gz
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.bz2
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.tar.xz
mv-6c05739c62484dae8d5ed9fb0dfdb6590aacfe88.zip
improve a bit strings declaration.
Diffstat (limited to 'src/utils/cpu.cpp')
-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 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)