From c6725884bc155da431889468c86c546f0f64f9a1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 29 Jan 2014 20:16:43 +0100 Subject: db/update: convert to OO API Move global variables into the new classes. That may allow multiple update threads for multiple databases one day. --- src/db/update/InotifyQueue.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/db/update/InotifyQueue.cxx') diff --git a/src/db/update/InotifyQueue.cxx b/src/db/update/InotifyQueue.cxx index f4bccf7ae..013200f98 100644 --- a/src/db/update/InotifyQueue.cxx +++ b/src/db/update/InotifyQueue.cxx @@ -20,7 +20,7 @@ #include "config.h" #include "InotifyQueue.hxx" #include "InotifyDomain.hxx" -#include "UpdateGlue.hxx" +#include "Service.hxx" #include "Log.hxx" #include @@ -40,7 +40,7 @@ InotifyQueue::OnTimeout() while (!queue.empty()) { const char *uri_utf8 = queue.front().c_str(); - id = update_enqueue(uri_utf8, false); + id = update.Enqueue(uri_utf8, false); if (id == 0) { /* retry later */ ScheduleSeconds(INOTIFY_UPDATE_DELAY_S); -- cgit v1.2.3