]> git.sesse.net Git - casparcg/blobdiff - core/thumbnail_generator.cpp
Fix a few Clang warnings.
[casparcg] / core / thumbnail_generator.cpp
index b2a00e957541fb2af27c0cedb2559086872094a0..09b61de6cdb82b9fae38fc1bf6fd1ff775b6c0bf 100644 (file)
 #include <iterator>
 #include <set>
 #include <future>
+#include <thread>
 
-#include <boost/thread.hpp>
 #include <boost/algorithm/string/predicate.hpp>
 #include <boost/filesystem.hpp>
+#include <boost/thread.hpp>
 
 #include <tbb/atomic.h>
 
@@ -67,7 +68,7 @@ struct thumbnail_output
                int current_sleep = sleep_millis;
 
                if (current_sleep > 0)
-                       boost::this_thread::sleep_for(boost::chrono::milliseconds(current_sleep));
+                       std::this_thread::sleep_for(std::chrono::milliseconds(current_sleep));
 
                on_send(std::move(frame));
                on_send = nullptr;