doh. now what() is proper

This commit is contained in:
mes5k 2004-10-14 18:07:45 +00:00
parent 885da739a6
commit e827de8d60

View File

@ -76,7 +76,7 @@ class ArgException : public std::exception
/**
* Returns the arg id and error text.
*/
const char* what() throw()
const char* what() const throw()
{
std::string ex = _argId + " -- " + _errorText;
return ex.c_str();