Skip to content
Snippets Groups Projects
Commit 23d50f53 authored by Nat Goodspeed's avatar Nat Goodspeed
Browse files

MAINT-5232: Ensure custom operator<<() overload is visible to TUT.

parent 76350958
No related branches found
No related tags found
No related merge requests found
...@@ -17,12 +17,16 @@ ...@@ -17,12 +17,16 @@
#include <set> #include <set>
// std headers // std headers
// external library headers // external library headers
// (pacify clang)
std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset);
// other Linden headers // other Linden headers
#include "../test/lltut.h" #include "../test/lltut.h"
static std::string clog; static std::string clog;
static std::set<std::string> dlog; 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) std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset)
{ {
out << '{'; out << '{';
...@@ -37,6 +41,7 @@ std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset) ...@@ -37,6 +41,7 @@ std::ostream& operator<<(std::ostream& out, const std::set<std::string>& strset)
return out; return out;
} }
// unrelated test classes
struct Chalk struct Chalk
{ {
int dummy; int dummy;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment