summaryrefslogtreecommitdiff
path: root/p2pvr/ice/converters.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'p2pvr/ice/converters.cpp')
-rw-r--r--p2pvr/ice/converters.cpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/p2pvr/ice/converters.cpp b/p2pvr/ice/converters.cpp
index 23861f8..2a6b3c2 100644
--- a/p2pvr/ice/converters.cpp
+++ b/p2pvr/ice/converters.cpp
@@ -43,5 +43,17 @@ namespace Slicer {
{
return *c;
}
+
+ Common::Duration
+ timedurationToDuration(const boost::posix_time::time_duration & td)
+ {
+ return *td;
+ }
+
+ boost::posix_time::time_duration
+ durationToTimeDuration(const Common::Duration & td)
+ {
+ return *td;
+ }
}