From 159ef7946644a4af72c51fc15511d250eb00c741 Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Wed, 9 Dec 2015 15:50:51 +0000 Subject: Try to fix build with old boost. --- src/lib/encoder.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/lib/encoder.cc') 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 */ -- cgit v1.2.3