Replace boost::function with std::function

This commit is contained in:
Alejandro Domínguez
2024-08-16 21:18:31 +02:00
committed by Robin Gareus
parent 1124e191f0
commit ed1ab8622e

View File

@@ -46,7 +46,7 @@ public:
run_loop_thread = Glib::Threads::Thread::self ();
}
void call_slot (InvalidationRecord* ir, const boost::function<void ()>& f)
void call_slot (InvalidationRecord* ir, const std::function<void ()>& f)
{
if (Glib::Threads::Thread::self () == run_loop_thread) {
f ();