From e827de8d60687f37866f6148b52efea039986365 Mon Sep 17 00:00:00 2001 From: mes5k Date: Thu, 14 Oct 2004 18:07:45 +0000 Subject: [PATCH] doh. now what() is proper --- include/tclap/ArgException.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/tclap/ArgException.h b/include/tclap/ArgException.h index 157619e..9923f00 100644 --- a/include/tclap/ArgException.h +++ b/include/tclap/ArgException.h @@ -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();