tahoma2d/toonz/sources/common/tcore/texception.cpp
Shinya Kitaoka 9eb50de5fe Use std functions (#297)
* 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
2016-06-07 16:06:00 +09:00

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();
}
*/