Added performance warning in debug builds

This commit is contained in:
Sebastian Messmer 2015-10-15 00:16:00 +02:00
parent f5f8dc7939
commit ff8eae5293

View File

@ -39,6 +39,9 @@ void showVersion() {
} else if (!version::IS_STABLE_VERSION) {
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;
}