summaryrefslogtreecommitdiff
path: root/logbook/countriesworked.cpp
diff options
context:
space:
mode:
authorChristoph Berg <myon@debian.org>2025-01-09 22:12:12 +0100
committerChristoph Berg <myon@debian.org>2025-01-09 22:12:12 +0100
commit98c02f78b26811ba5d9962ba27ec24cacf82bb22 (patch)
treedaaf609cde31d8fb3b6c3457c43663d14f0dda80 /logbook/countriesworked.cpp
parent332d2ce88c2f0bc2908cacdc6707e2f9fa49f26d (diff)
parent992d4b4b8d3f3a630a2cf00d593ee4ce4dfa7ce8 (diff)
Update upstream source from tag 'upstream/2.7.0_rc8+repack'
Update to upstream version '2.7.0~rc8+repack' with Debian dir 6fce941c8282d35c8df23d3de779a42e27688bc1
Diffstat (limited to 'logbook/countriesworked.cpp')
-rwxr-xr-xlogbook/countriesworked.cpp48
1 files changed, 24 insertions, 24 deletions
diff --git a/logbook/countriesworked.cpp b/logbook/countriesworked.cpp
index 0caed9df..bcd73af7 100755
--- a/logbook/countriesworked.cpp
+++ b/logbook/countriesworked.cpp
@@ -1,24 +1,24 @@
-#include "countriesworked.h"
-
-#include <set>
-
-#include "pimpl_impl.hpp"
-
-class CountriesWorkedimpl final
-{
-public:
- // element is country-name+band where the '+' is actual a character
- // which allows an efficient lower_bound() search for country-name+
- // to check for ATNOs
- std::set<QString> worked_;
-};
-
-void CountriesWorked::add (QString const& country, QString const& band)
-{
- m_->worked_.insert (country + '+' + band);
-}
-
-bool CountriesWorked::contains (QString const& country, QString const& band) const
-{
- return m_->worked_.end () != m_->worked_.lower_bound (country + '+' + band);
-}
+#include "countriesworked.h"
+
+#include <set>
+
+#include "pimpl_impl.hpp"
+
+class CountriesWorkedimpl final
+{
+public:
+ // element is country-name+band where the '+' is actual a character
+ // which allows an efficient lower_bound() search for country-name+
+ // to check for ATNOs
+ std::set<QString> worked_;
+};
+
+void CountriesWorked::add (QString const& country, QString const& band)
+{
+ m_->worked_.insert (country + '+' + band);
+}
+
+bool CountriesWorked::contains (QString const& country, QString const& band) const
+{
+ return m_->worked_.end () != m_->worked_.lower_bound (country + '+' + band);
+}