diff options
| author | Phil Nash | 2018-06-12 14:09:30 +0100 |
|---|---|---|
| committer | Phil Nash | 2018-06-12 14:09:30 +0100 |
| commit | b8553d62a3a98ac9d358d20b48cf99f775291557 (patch) | |
| tree | 7657a28f7fd99132590e6b417954eb77f4a66f95 /include/internal/catch_assertionhandler.cpp | |
| parent | 504607701bd5bbe6a4dbd26709aac3e181a075e3 (diff) | |
| download | catch3-b8553d62a3a98ac9d358d20b48cf99f775291557.tar.gz | |
Moved inline functions in cpp files into anon namespaces
Diffstat (limited to 'include/internal/catch_assertionhandler.cpp')
| -rw-r--r-- | include/internal/catch_assertionhandler.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/include/internal/catch_assertionhandler.cpp b/include/internal/catch_assertionhandler.cpp index dd488c9c..28768077 100644 --- a/include/internal/catch_assertionhandler.cpp +++ b/include/internal/catch_assertionhandler.cpp @@ -18,9 +18,11 @@ namespace Catch { - inline auto operator <<( std::ostream& os, ITransientExpression const& expr ) -> std::ostream& { - expr.streamReconstructedExpression( os ); - return os; + namespace { + auto operator <<( std::ostream& os, ITransientExpression const& expr ) -> std::ostream& { + expr.streamReconstructedExpression( os ); + return os; + } } LazyExpression::LazyExpression( bool isNegated ) |