From b749a3cbcc743f6ed8233c5abb5fedaafa74fa75 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Michal=20Mal=C3=BD?= Date: Fri, 13 Mar 2015 00:35:01 +0100 Subject: [PATCH] Remove unused includes --- datamanager.cpp | 6 +++++- sequence.h | 1 - singlerundata.h | 1 - 3 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.43.5