while (1) -> while (true)
[dcpomatic.git] / src / lib / update.cc
index 34eaf385c92e77340b361ad634705083a938a459..af3e46f0e7d14ea1abb8d64c4c4e467143588547 100644 (file)
@@ -85,7 +85,7 @@ UpdateChecker::run ()
 void
 UpdateChecker::thread ()
 {
-       while (1) {
+       while (true) {
                boost::mutex::scoped_lock lock (_process_mutex);
                while (_to_do == 0) {
                        _condition.wait (lock);