mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 10:01:38 +08:00
Merge pull request #51 from StephanOostveen/bug/return_local_reference
Bug: JKMathParser exception return local variable
This commit is contained in:
commit
2d12671501
@ -1889,7 +1889,7 @@ std::string JKQTPMathParser::jkmpException::getMessage() const {
|
||||
}
|
||||
|
||||
const char *JKQTPMathParser::jkmpException::what() const noexcept {
|
||||
return getMessage().c_str();
|
||||
return errormessage.c_str();
|
||||
}
|
||||
|
||||
JKQTPMathParser *JKQTPMathParser::jkmpNode::getParser(){ return parser; }
|
||||
|
Loading…
Reference in New Issue
Block a user