diff options
| author | Andrew Stitcher <astitcher@apache.org> | 2010-04-08 04:53:33 +0000 |
|---|---|---|
| committer | Andrew Stitcher <astitcher@apache.org> | 2010-04-08 04:53:33 +0000 |
| commit | bb69ac2090b9afb719ce4e4b9130226c34e591d9 (patch) | |
| tree | 8e652da48ace0561f19c429cfbfba1d6af0630b5 /qpid/cpp/src/tests/qpid_send.cpp | |
| parent | 729bd42f4945c0636654c92979a8903fa972586f (diff) | |
| download | qpid-python-bb69ac2090b9afb719ce4e4b9130226c34e591d9.tar.gz | |
Changed the recent AbsTime::Epoch code to conform better to the previously
existing code.
Fixed AbsTime to compile on Windows again.
Removed unused and seemingly extraneous serialize() code from AbsTime.
git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk@931782 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'qpid/cpp/src/tests/qpid_send.cpp')
| -rw-r--r-- | qpid/cpp/src/tests/qpid_send.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/qpid/cpp/src/tests/qpid_send.cpp b/qpid/cpp/src/tests/qpid_send.cpp index 26e9003b2d..feeabefbdd 100644 --- a/qpid/cpp/src/tests/qpid_send.cpp +++ b/qpid/cpp/src/tests/qpid_send.cpp @@ -251,7 +251,7 @@ int main(int argc, char ** argv) msg.setContent(content); msg.getProperties()["sn"] = ++sent; msg.getProperties()["ts"] = int64_t( - qpid::sys::Duration(qpid::sys::AbsTime::epoch(), qpid::sys::now())); + qpid::sys::Duration(qpid::sys::EPOCH, qpid::sys::now())); sender.send(msg); reporter.message(msg); if (opts.tx && (sent % opts.tx == 0)) { |
