summaryrefslogtreecommitdiff
path: root/cpp/src/qpid
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
commit253bde49650f45aa918ba2de16c6ef1422d29997 (patch)
tree01e3626b60cb21f11ea229cc5a886b0274c526a5 /cpp/src/qpid
parent80ce30e04dc51d96c0f5095d1192722cbb4a0341 (diff)
downloadqpid-python-253bde49650f45aa918ba2de16c6ef1422d29997.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')
-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);
}