Skip to content

Commit

Permalink
-removed boost bind
Browse files Browse the repository at this point in the history
git-svn-id: https://openmodelica.org/svn/OpenModelica/trunk@22508 f25d12d1-65f4-0310-ae8a-bbce733d8d8e
  • Loading branch information
RuedKamp committed Sep 30, 2014
1 parent bc86917 commit 3e12519
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Compiler/Template/CodegenCpp.tpl
Expand Up @@ -1832,7 +1832,7 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
//Initialize the state vector
SystemDefaultImplementation::initialize();
//Instantiate auxiliary object for event handling functionality
_event_handling.getCondition = boost::bind(&<%className%>::getCondition, this, _1);
//_event_handling.getCondition = boost::bind(&<%className%>::getCondition, this, _1);

//Todo: reindex all arrays removed // arrayReindex(modelInfo,useFlatArrayNotation)
//Initialize array elements
Expand Down Expand Up @@ -3555,8 +3555,8 @@ case SIMCODE(modelInfo = MODELINFO(__)) then
initializeStateVars();
initializeDerVars();
<%initFunctions%>
_event_handling.initialize(this,<%helpvarlength(simCode)%>,boost::bind(&<%lastIdentOfPath(modelInfo.name)%>::initPreVars, this, _1,_2));
//_event_handling.initialize(this,<%helpvarlength(simCode)%>,boost::bind(&<%lastIdentOfPath(modelInfo.name)%>::initPreVars, this, _1,_2));
_event_handling.initialize(this,<%helpvarlength(simCode)%>);
<%initEventHandling%>
Expand Down

0 comments on commit 3e12519

Please sign in to comment.