]> Devoid-pointer.net GitWeb - anyanka.git/commitdiff
Remove unused <unordered_map> includes
authorMichal Malý <madcatxster@devoid-pointer.net>
Thu, 12 Mar 2015 23:35:01 +0000 (00:35 +0100)
committerMichal Malý <madcatxster@devoid-pointer.net>
Thu, 12 Mar 2015 23:35:01 +0000 (00:35 +0100)
datamanager.cpp
sequence.h
singlerundata.h

index 971bb6c886ad0f8a332aaad2591a057785a44a47..e2ef0efcdaad92ab2c4d3215757e55810f0b59f4 100644 (file)
@@ -105,8 +105,12 @@ std::vector<std::string> DataManager::allSequenceKeys() const
   std::vector<std::string> keys;
 
   keys.reserve(m_sequences.size());
-  for (auto& s : m_sequences)
+  keys.push_back(S_SEQ_KEY_SINGLE_RUNS);
+  for (auto& s : m_sequences) {
+    if (s.first.compare(S_SEQ_KEY_SINGLE_RUNS) == 0)
+      continue;
     keys.push_back(s.first);
+  }
 
   return keys;
 }
index d79c28333c3b84a577808609716832858a9c6364..5f525f946cac1c0cf0277a78261eece7361e46e3 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "signalcontroller.h"
 #include "singlerundata.h"
-#include <unordered_map>
 #include <utility>
 #include <vector>
 #include <QtCore/QObject>
index 7b818cca36c0c31c7f3023c4720468c9cf04f06c..c0717cc21c83436b5fe1018899e72074b579532a 100644 (file)
@@ -26,7 +26,6 @@
 
 #include "signalcontroller.h"
 #include <memory>
-#include <unordered_map>
 #include <QtCore/QDate>
 #include <QtCore/QObject>
 #include <QtCore/QTime>