diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-30 19:15:08 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2020-12-30 19:15:08 +0000 |
commit | c5d9f849903889ff43383660d1a403d55364918a (patch) | |
tree | 476e966ad78998595d2bf7986b8c79f985eaccfb | |
parent | Pass fPIC only to gcc and clang (diff) | |
download | netfs-c5d9f849903889ff43383660d1a403d55364918a.tar.bz2 netfs-c5d9f849903889ff43383660d1a403d55364918a.tar.xz netfs-c5d9f849903889ff43383660d1a403d55364918a.zip |
Fix recursion in test function
-rw-r--r-- | netfs/unittests/testLib.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/netfs/unittests/testLib.cpp b/netfs/unittests/testLib.cpp index b44ab37..d3ce2fe 100644 --- a/netfs/unittests/testLib.cpp +++ b/netfs/unittests/testLib.cpp @@ -4,14 +4,16 @@ #include <entCache.impl.h> #include <lockHelpers.h> +/// @cond namespace std { ostream & operator<<(ostream & strm, const ResolvedAs & r) { - strm << r; + strm << (int)r; return strm; } } +/// @endcond struct TestEntry { TestEntry(int i, std::string n) : id(i), name(std::move(n)) { } |