summaryrefslogtreecommitdiffstats
path: root/Project/Electromechanical.cpp
diff options
context:
space:
mode:
authorThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-10-25 16:04:37 -0300
committerThales Lima Oliveira <thaleslima.ufu@gmail.com>2019-10-25 16:04:37 -0300
commit38722eb732fb0e9f1dbe4a518df43fc5c6cc913c (patch)
tree819d12296daf9384cee0befe9e456c25f1d83cb8 /Project/Electromechanical.cpp
parent06e4e46e39946577094d5e4fdba7f5ed7662eaa3 (diff)
downloadPSP.git-38722eb732fb0e9f1dbe4a518df43fc5c6cc913c.tar.gz
PSP.git-38722eb732fb0e9f1dbe4a518df43fc5c6cc913c.tar.xz
PSP.git-38722eb732fb0e9f1dbe4a518df43fc5c6cc913c.zip
Codefix for 32 bits compilance
Diffstat (limited to 'Project/Electromechanical.cpp')
-rw-r--r--Project/Electromechanical.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Project/Electromechanical.cpp b/Project/Electromechanical.cpp
index fd74414..8d97d5b 100644
--- a/Project/Electromechanical.cpp
+++ b/Project/Electromechanical.cpp
@@ -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
@@ -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);
}
}
}