Skip to content
Snippets Groups Projects
Commit 9151d893 authored by Giovanni Bussi's avatar Giovanni Bussi
Browse files

small fix for cppcheck

parent fb2ae9eb
No related branches found
No related tags found
No related merge requests found
......@@ -85,7 +85,7 @@ Exception::Exception(const std::string&msg,const std::string&file,unsigned line,
void Exception::abortIfExceptionsAreDisabled() {
#if ! defined(__PLUMED_HAS_EXCEPTIONS)
fprintf(stderr,"%s","Exceptions are disabled, aborting now\n");
fprintf(stderr,"%s",what());
fprintf(stderr,"%s",Exception::what());
fprintf(stderr,"\n");
std::abort();
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment