diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-08-31 08:32:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-31 08:32:07 +0200 |
commit | 178c59a30e4b63fba2272fc748821e394fa21176 (patch) | |
tree | dbd521f4ae3eed1caf1b70d526333ec9d9641972 | |
parent | 853b814ec45d76acabd0dfdc8d2a440561367571 (diff) | |
parent | 8a4d561c1600218282b4c3243be22225d2827a27 (diff) |
Merge pull request #14201 from vespa-engine/toregge/move-streaming-operator-to-namespace-searched-by-adl
Move streaming operator to namespace searched by ADL.
-rw-r--r-- | searchcore/src/tests/proton/common/pendinglidtracker_test.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/searchcore/src/tests/proton/common/pendinglidtracker_test.cpp b/searchcore/src/tests/proton/common/pendinglidtracker_test.cpp index 575033ad19a..3b42a399888 100644 --- a/searchcore/src/tests/proton/common/pendinglidtracker_test.cpp +++ b/searchcore/src/tests/proton/common/pendinglidtracker_test.cpp @@ -12,6 +12,8 @@ constexpr uint32_t LID_1 = 1u; const std::vector<uint32_t> LIDV_2_1_3({2u, LID_1, 3u}); const std::vector<uint32_t> LIDV_2_3({2u, 3u}); +namespace proton { + std::ostream & operator << (std::ostream & os, ILidCommitState::State state) { switch (state) { @@ -28,6 +30,8 @@ operator << (std::ostream & os, ILidCommitState::State state) { return os; } +} + void verifyPhase1ProduceAndNeedCommit(PendingLidTrackerBase & tracker, ILidCommitState::State expected) { EXPECT_EQUAL(ILidCommitState::State::COMPLETED, tracker.getState()); |