Skip to content

Commit

Permalink
Codefix for 32 bits compilance
Browse files Browse the repository at this point in the history
  • Loading branch information
Thales1330 committed Oct 25, 2019
1 parent 06e4e46 commit 38722eb
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Project/Electromechanical.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -142,9 +142,9 @@ void Electromechanical::SetEventTimeList()
auto data = bus->GetElectricalData();
if(data.stabHasFault) {
m_eventTimeList.emplace_back(data.stabFaultTime);
m_eventOccurrenceList.emplace_back(false);
m_eventOccurrenceList.push_back(false);
m_eventTimeList.emplace_back(data.stabFaultTime + data.stabFaultLength);
m_eventOccurrenceList.emplace_back(false);
m_eventOccurrenceList.push_back(false);
}
}
// Switching
Expand All @@ -153,7 +153,7 @@ void Electromechanical::SetEventTimeList()
SwitchingData swData = element->GetSwitchingData();
for(unsigned int i = 0; i < swData.swTime.size(); ++i) {
m_eventTimeList.emplace_back(swData.swTime[i]);
m_eventOccurrenceList.emplace_back(false);
m_eventOccurrenceList.push_back(false);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion Project/compile_flags.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
-IC:\TDM-GCC-64\include
-IC:\TDM-GCC-64\lib\gcc\x86_64-w64-mingw32\5.1.0\include-fixed
-IC:\TDM-GCC-64\x86_64-w64-mingw32\include
-IC:\Users\thale\Documents\GitHub\PSP\Project
-IC:\Users\NDSE-69\Documents\GitHub\PSP\Project
-IC:\wxWidgets-3.1.2\lib\gcc_dll\mswu
-IC:\wxWidgets-3.1.2\include
-D_UNICODE
Expand Down

0 comments on commit 38722eb

Please sign in to comment.