db/update/Service: eliminate attribute "progress"
Use walk!=nullptr instead.
This commit is contained in:
@@ -35,19 +35,11 @@ class CompositeStorage;
|
||||
* This class manages the update queue and runs the update thread.
|
||||
*/
|
||||
class UpdateService final : DeferredMonitor {
|
||||
enum Progress {
|
||||
UPDATE_PROGRESS_IDLE = 0,
|
||||
UPDATE_PROGRESS_RUNNING = 1,
|
||||
UPDATE_PROGRESS_DONE = 2
|
||||
};
|
||||
|
||||
SimpleDatabase &db;
|
||||
CompositeStorage &storage;
|
||||
|
||||
DatabaseListener &listener;
|
||||
|
||||
Progress progress;
|
||||
|
||||
bool modified;
|
||||
|
||||
Thread update_thread;
|
||||
|
Reference in New Issue
Block a user