Try to fix build with old boost.
authorCarl Hetherington <cth@carlh.net>
Wed, 9 Dec 2015 15:50:51 +0000 (15:50 +0000)
committerCarl Hetherington <cth@carlh.net>
Wed, 9 Dec 2015 15:50:51 +0000 (15:50 +0000)
src/lib/encoder.cc

index e7277d0dd41bc36a2851d802b11e63f83317f956..bfb96f41b5925777b60048a25a934194b010ea1f 100644 (file)
@@ -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 */