9eb50de5fe
* use std functions * replace toInt to std::stoi * replace toDouble to std::stod * replace toString to std::to_string * replace toWideString to std::to_wstring * fix for MacOS * cosmetic change
15 lines
231 B
C++
15 lines
231 B
C++
|
|
|
|
#include "texception.h"
|
|
#include "tconvert.h"
|
|
|
|
TException::TException(const std::string &msg)
|
|
{
|
|
m_msg = ::to_wstring(msg);
|
|
}
|
|
/*
|
|
ostream& operator<<(ostream &out, const TException &e)
|
|
{
|
|
return out<<e.getMessage().c_str();
|
|
}
|
|
*/
|