Skip to content

Commit

Permalink
Do not use C++11 features
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@23218 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
sjoelund committed Nov 5, 2014
1 parent 353d55a commit 20d9fe7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
4 changes: 3 additions & 1 deletion OMEdit/OMEditGUI/Util/OMDumpXML.cpp
Expand Up @@ -191,7 +191,9 @@ QString OMInfo::toString() {

OMVariable::OMVariable()
{

for (int i=0; i<equationTypeSize; i++) {
definedIn[i] = 0;
}
}

OMVariable::OMVariable(const OMVariable &var)
Expand Down
2 changes: 1 addition & 1 deletion OMEdit/OMEditGUI/Util/OMDumpXML.h
Expand Up @@ -173,7 +173,7 @@ struct OMVariable {
QString comment;
OMInfo info;
QStringList types;
int definedIn[equationTypeSize] = {0};
int definedIn[equationTypeSize];
QList<int> usedIn[equationTypeSize];
QList<OMOperation*> ops;
OMVariable();
Expand Down

0 comments on commit 20d9fe7

Please sign in to comment.