mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2025-01-13 01:10:33 +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 {
|
const char *JKQTPMathParser::jkmpException::what() const noexcept {
|
||||||
return getMessage().c_str();
|
return errormessage.c_str();
|
||||||
}
|
}
|
||||||
|
|
||||||
JKQTPMathParser *JKQTPMathParser::jkmpNode::getParser(){ return parser; }
|
JKQTPMathParser *JKQTPMathParser::jkmpNode::getParser(){ return parser; }
|
||||||
|
Loading…
Reference in New Issue
Block a user