summaryrefslogtreecommitdiff
path: root/cpp/src
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/src')
-rw-r--r--cpp/src/tests/qpid_stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cpp/src/tests/qpid_stream.cpp b/cpp/src/tests/qpid_stream.cpp
index 26df5332fe..2ccf27bdb9 100644
--- a/cpp/src/tests/qpid_stream.cpp
+++ b/cpp/src/tests/qpid_stream.cpp
@@ -77,7 +77,7 @@ const std::string TS = "ts";
uint64_t timestamp(const qpid::sys::AbsTime& time)
{
- qpid::sys::Duration t(time);
+ qpid::sys::Duration t(qpid::sys::EPOCH, time);
return t;
}