Minor TString cleanup (also enable log terminal output in release mode)

This commit is contained in:
parax0
2015-11-24 08:40:09 -07:00
parent 5ffa24592c
commit 901ae6a832
3 changed files with 3 additions and 13 deletions

View File

@@ -34,19 +34,13 @@ void Write(const TString& message)
void Error(const TString& message)
{
Write("ERROR: " + message);
#ifdef _DEBUG
std::cout << "ERROR: " << message << "\n";
#endif
std::cout << "ERROR: " << message << "\n";
}
void Warning(const TString& message)
{
Write("Warning: " + message);
#ifdef _DEBUG
std::cout << "Warning: " << message << "\n";
#endif
}
void FileWrite(const TString& filename, const TString& message)

View File

@@ -3,7 +3,6 @@
#include <QStyleFactory>
#include <UI/CDarkStyle.h>
#include <Resource/factory/CTemplateLoader.h>
#include <Common/TString.h>
int main(int argc, char *argv[])
{