From: Michal MalĂ˝ Date: Thu, 12 Mar 2015 23:35:01 +0000 (+0100) Subject: Remove unused includes X-Git-Tag: 0.4b~7 X-Git-Url: https://gitweb.devoid-pointer.net/?a=commitdiff_plain;h=b749a3cbcc743f6ed8233c5abb5fedaafa74fa75;p=anyanka.git Remove unused includes --- diff --git a/datamanager.cpp b/datamanager.cpp index 971bb6c..e2ef0ef 100644 --- a/datamanager.cpp +++ b/datamanager.cpp @@ -105,8 +105,12 @@ std::vector DataManager::allSequenceKeys() const std::vector 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; } diff --git a/sequence.h b/sequence.h index d79c283..5f525f9 100644 --- a/sequence.h +++ b/sequence.h @@ -26,7 +26,6 @@ #include "signalcontroller.h" #include "singlerundata.h" -#include #include #include #include diff --git a/singlerundata.h b/singlerundata.h index 7b818cc..c0717cc 100644 --- a/singlerundata.h +++ b/singlerundata.h @@ -26,7 +26,6 @@ #include "signalcontroller.h" #include -#include #include #include #include