mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 11:49:39 -04:00
doh. now what() is proper
This commit is contained in:
parent
885da739a6
commit
e827de8d60
@ -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();
|
||||
|
Loading…
x
Reference in New Issue
Block a user