Added performance warning in debug builds
This commit is contained in:
parent
f5f8dc7939
commit
ff8eae5293
@ -39,6 +39,9 @@ void showVersion() {
|
|||||||
} else if (!version::IS_STABLE_VERSION) {
|
} else if (!version::IS_STABLE_VERSION) {
|
||||||
cout << "WARNING! This is an experimental version. Please backup your data frequently!" << endl;
|
cout << "WARNING! This is an experimental version. Please backup your data frequently!" << endl;
|
||||||
}
|
}
|
||||||
|
#ifndef NDEBUG
|
||||||
|
cout << "WARNING! This is a debug build. Performance might be slow." << endl;
|
||||||
|
#endif
|
||||||
cout << endl;
|
cout << endl;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user