summaryrefslogtreecommitdiff
path: root/cpp/src/qpid/sys
diff options
context:
space:
mode:
authorAndrew Stitcher <astitcher@apache.org>2010-04-08 05:07:08 +0000
committerAndrew Stitcher <astitcher@apache.org>2010-04-08 05:07:08 +0000
commit1c949f8f54d3ede6b52fcfa63f702f9f154f8655 (patch)
tree01e3626b60cb21f11ea229cc5a886b0274c526a5 /cpp/src/qpid/sys
parente0d767b10057149be7ef502687c4d943582ee2c0 (diff)
downloadqpid-python-1c949f8f54d3ede6b52fcfa63f702f9f154f8655.tar.gz
Remove some clunky accessors for AbsTime on Windows and replace by making Condition
a friend class of AbsTime. git-svn-id: https://svn.apache.org/repos/asf/qpid/trunk/qpid@931783 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'cpp/src/qpid/sys')
-rw-r--r--cpp/src/qpid/sys/windows/Time.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/cpp/src/qpid/sys/windows/Time.cpp b/cpp/src/qpid/sys/windows/Time.cpp
index 959a7c10fe..8d34c937ef 100644
--- a/cpp/src/qpid/sys/windows/Time.cpp
+++ b/cpp/src/qpid/sys/windows/Time.cpp
@@ -79,10 +79,6 @@ std::ostream& operator<<(std::ostream& o, const AbsTime& t) {
}
-void toPtime(ptime& pt, const AbsTime& t) {
- pt = t.getPrivate();
-}
-
void sleep(int secs) {
::Sleep(secs * 1000);
}