aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:33:05 +0200
committerCharles Kerr <charles.kerr@canonical.com>2016-04-27 10:33:05 +0200
commitfcf75a545e25baa8777a310c648846537590fa2b (patch)
tree32fa75cc9baebb1a7dbbfad83a7d77ee1835a673
parenta277302b1c1c2568c456abcb3432eb8f8ead0925 (diff)
downloadayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.tar.gz
ayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.tar.bz2
ayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.zip
silence 'no previous prototype' warning from clang
-rw-r--r--tests/utils/gtest-print-helpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/utils/gtest-print-helpers.h b/tests/utils/gtest-print-helpers.h
index 6dc1217..60f42b4 100644
--- a/tests/utils/gtest-print-helpers.h
+++ b/tests/utils/gtest-print-helpers.h
@@ -11,7 +11,7 @@ inline void PrintTo(const Greeter::State& state, std::ostream* os) {
}
}
-std::ostream& operator<<(std::ostream& os, const Greeter::State& state) {
+inline std::ostream& operator<<(std::ostream& os, const Greeter::State& state) {
PrintTo(state, &os);
return os;
}