X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Flib%2Fupdate.cc;h=af3e46f0e7d14ea1abb8d64c4c4e467143588547;hp=34eaf385c92e77340b361ad634705083a938a459;hb=6bc83f72f12c8513a1e9e9b6fd880697a73f968f;hpb=a6b3b4539ae17ce59f975a4be49278f4ccc736fd diff --git a/src/lib/update.cc b/src/lib/update.cc index 34eaf385c..af3e46f0e 100644 --- a/src/lib/update.cc +++ b/src/lib/update.cc @@ -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);