summaryrefslogtreecommitdiff
path: root/src/lib/encoder.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2015-12-09 15:50:51 +0000
committerCarl Hetherington <cth@carlh.net>2015-12-09 15:50:51 +0000
commit159ef7946644a4af72c51fc15511d250eb00c741 (patch)
tree1e220fd7f86423a24050d986e7a36901b7304c43 /src/lib/encoder.cc
parentfccc63ca722e8156843ecbe2063cb5c3ea6f5ceb (diff)
Try to fix build with old boost.
Diffstat (limited to 'src/lib/encoder.cc')
-rw-r--r--src/lib/encoder.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/encoder.cc b/src/lib/encoder.cc
index e7277d0dd..bfb96f41b 100644
--- a/src/lib/encoder.cc
+++ b/src/lib/encoder.cc
@@ -358,7 +358,7 @@ try
}
if (remote_backoff > 0) {
- boost::this_thread::sleep_for (boost::chrono::seconds (remote_backoff));
+ boost::this_thread::sleep (boost::posix_time::seconds (remote_backoff));
}
/* The queue might not be full any more, so notify anything that is waiting on that */