aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:16:39 +0200
committerCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:16:39 +0200
commit2e88906dc5ced1c5f601cef2514d8e559246e0d5 (patch)
tree8ba18abf877a7a8f4c52603a04279068bdd9c537
parentf8a8646b5cc0e9b59a5f953dcd8129c93d162915 (diff)
downloadayatana-indicator-display-2e88906dc5ced1c5f601cef2514d8e559246e0d5.tar.gz
ayatana-indicator-display-2e88906dc5ced1c5f601cef2514d8e559246e0d5.tar.bz2
ayatana-indicator-display-2e88906dc5ced1c5f601cef2514d8e559246e0d5.zip
silence clang warning in PrintTo gtest helper
-rw-r--r--tests/utils/gtest-print-helpers.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/tests/utils/gtest-print-helpers.h b/tests/utils/gtest-print-helpers.h
index 75ee13b..6dc1217 100644
--- a/tests/utils/gtest-print-helpers.h
+++ b/tests/utils/gtest-print-helpers.h
@@ -5,9 +5,9 @@
inline void PrintTo(const Greeter::State& state, std::ostream* os) {
switch(state) {
- case Greeter::State::ACTIVE: *os << "Active"; break;
- case Greeter::State::INACTIVE: *os << "Inactive"; break;
- default: *os << "Unavailable"; break;
+ case Greeter::State::ACTIVE: *os << "Active"; break;
+ case Greeter::State::INACTIVE: *os << "Inactive"; break;
+ case Greeter::State::UNAVAILABLE: *os << "Unavailable"; break;
}
}