Skip to content
This repository was archived by the owner on May 18, 2019. It is now read-only.

Commit e44d430

Browse files
niklworsOpenModelica-Hudson
authored andcommitted
fix for linux gcc 4.4 build error
Belonging to [master]: - #2078
1 parent d71fe29 commit e44d430

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

SimulationRuntime/cpp/Core/Solver/SimulationMonitor.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ void SimulationMonitor::initialize()
2323
#ifdef USE_CHRONO
2424
_t_s = high_resolution_clock::now();
2525
_interrupt = false;
26-
#elif
26+
#else
2727
throw ModelicaSimulationError(SOLVER,"simulation time out is only supported for c++11");
2828
#endif
2929
}
@@ -32,7 +32,7 @@ void SimulationMonitor::setTimeOut(unsigned int time_out)
3232
{
3333
#ifdef USE_CHRONO
3434
_time_out = seconds(time_out);
35-
#elif
35+
#else
3636
throw ModelicaSimulationError(SOLVER,"simulation time out is only supported for c++11");
3737
#endif
3838
}
@@ -49,7 +49,7 @@ void SimulationMonitor::checkTimeout()
4949
{
5050
_interrupt =true;
5151
}
52-
#elif
52+
#else
5353
throw ModelicaSimulationError(SOLVER,"simulation time out is only supported for c++11");
5454
#endif
5555

0 commit comments

Comments
 (0)