diff options
author | Charles Kerr <charles.kerr@canonical.com> | 2016-04-27 10:33:05 +0200 |
---|---|---|
committer | Charles Kerr <charles.kerr@canonical.com> | 2016-04-27 10:33:05 +0200 |
commit | fcf75a545e25baa8777a310c648846537590fa2b (patch) | |
tree | 32fa75cc9baebb1a7dbbfad83a7d77ee1835a673 /tests | |
parent | a277302b1c1c2568c456abcb3432eb8f8ead0925 (diff) | |
download | ayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.tar.gz ayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.tar.bz2 ayatana-indicator-display-fcf75a545e25baa8777a310c648846537590fa2b.zip |
silence 'no previous prototype' warning from clang
Diffstat (limited to 'tests')
-rw-r--r-- | tests/utils/gtest-print-helpers.h | 2 |
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; } |