diff options
author | Nat Goodspeed <nat@lindenlab.com> | 2016-10-13 07:11:18 -0400 |
---|---|---|
committer | Nat Goodspeed <nat@lindenlab.com> | 2016-10-13 07:11:18 -0400 |
commit | 23d50f53cb7beed12a1ff15f32b5c85e2b9e6b4d (patch) | |
tree | e38c3923dc3f576a3370dc34bebb4719aa559ad6 /indra/llcommon/tests | |
parent | 763509589dc9933d04a26e8109f90591eef1d012 (diff) |
MAINT-5232: Ensure custom operator<<() overload is visible to TUT.
Diffstat (limited to 'indra/llcommon/tests')
-rw-r--r-- | indra/llcommon/tests/llheteromap_test.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/indra/llcommon/tests/llheteromap_test.cpp b/indra/llcommon/tests/llheteromap_test.cpp index 4f38933e50..686bffb878 100644 --- a/indra/llcommon/tests/llheteromap_test.cpp +++ b/indra/llcommon/tests/llheteromap_test.cpp @@ -17,12 +17,16 @@ #include <set> // std headers // external library headers + +// (pacify clang) +std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset); // other Linden headers #include "../test/lltut.h" static std::string clog; static std::set<std::string> dlog; +// want to be able to use ensure_equals() on a set<string> std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset) { out << '{'; @@ -37,6 +41,7 @@ std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset) return out; } +// unrelated test classes struct Chalk { int dummy; |