summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--storage/src/tests/distributor/ownership_transfer_safe_time_point_calculator_test.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/storage/src/tests/distributor/ownership_transfer_safe_time_point_calculator_test.cpp b/storage/src/tests/distributor/ownership_transfer_safe_time_point_calculator_test.cpp
index c47cb862c73..fde9aed59e7 100644
--- a/storage/src/tests/distributor/ownership_transfer_safe_time_point_calculator_test.cpp
+++ b/storage/src/tests/distributor/ownership_transfer_safe_time_point_calculator_test.cpp
@@ -3,6 +3,8 @@
#include <vespa/storage/distributor/ownership_transfer_safe_time_point_calculator.h>
#include <vespa/vespalib/gtest/gtest.h>
+namespace std::chrono {
+
template <typename Clock, typename Duration>
std::ostream& operator<<(std::ostream& os,
std::chrono::time_point<Clock, Duration> t)
@@ -12,6 +14,8 @@ std::ostream& operator<<(std::ostream& os,
return os;
}
+}
+
namespace storage::distributor {
using CalcType = OwnershipTransferSafeTimePointCalculator;