diff options
author | Tor Egge <Tor.Egge@broadpark.no> | 2020-05-25 21:39:26 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@broadpark.no> | 2020-05-25 21:39:26 +0200 |
commit | 4c9a4c930f586d1f0f2e89c229e9204b2a9ae55d (patch) | |
tree | 0d9159ae75ce942ca0d2770ec935e8313708903c /eval | |
parent | 7c40760245a941e4e7ccaecc7880bf1b78117891 (diff) |
Move streaming operators to namespace searched by ADL.
Diffstat (limited to 'eval')
-rw-r--r-- | eval/src/tests/tensor/dense_simple_join_function/dense_simple_join_function_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/eval/src/tests/tensor/dense_simple_join_function/dense_simple_join_function_test.cpp b/eval/src/tests/tensor/dense_simple_join_function/dense_simple_join_function_test.cpp index cac8af2bdce..b0927fd7e90 100644 --- a/eval/src/tests/tensor/dense_simple_join_function/dense_simple_join_function_test.cpp +++ b/eval/src/tests/tensor/dense_simple_join_function/dense_simple_join_function_test.cpp @@ -22,6 +22,8 @@ using vespalib::make_string_short::fmt; using Primary = DenseSimpleJoinFunction::Primary; using Overlap = DenseSimpleJoinFunction::Overlap; +namespace vespalib::tensor { + std::ostream &operator<<(std::ostream &os, Primary primary) { switch(primary) { @@ -41,6 +43,8 @@ std::ostream &operator<<(std::ostream &os, Overlap overlap) abort(); } +} + const TensorEngine &prod_engine = DefaultTensorEngine::ref(); EvalFixture::ParamRepo make_params() { |