mirror of
https://github.com/jkriege2/JKQtPlotter.git
synced 2024-12-25 01:51:49 +08:00
fixed compile error with MINGW
This commit is contained in:
parent
21489d55f2
commit
c935df7923
@ -446,7 +446,8 @@ JKQTmathText::MTinstruction1Node::MTinstruction1Node(JKQTmathText* parent, QStri
|
||||
this->child=child;
|
||||
this->parameters=parameters;
|
||||
|
||||
if (!setupMTenvironment()) {
|
||||
JKQTmathText::MTenvironment ev;
|
||||
if (!setupMTenvironment(ev)) {
|
||||
parent->error_list.append(tr("unknown instruction '%1' found!").arg(name));
|
||||
}
|
||||
}
|
||||
|
@ -389,7 +389,7 @@ class LIB_EXPORT JKQTmathText : public QObject {
|
||||
JKQTPGET_MACRO(QString, name)
|
||||
JKQTPGET_MACRO(QStringList, parameters)
|
||||
protected:
|
||||
bool setupMTenvironment(JKQTmathText::MTenvironment &ev = JKQTmathText::MTenvironment());
|
||||
bool setupMTenvironment(JKQTmathText::MTenvironment &ev);
|
||||
|
||||
MTnode* child;
|
||||
QString name;
|
||||
|
Loading…
Reference in New Issue
Block a user