X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fsuspender.h;h=e01888823b5abe7231b6b8553481478f9e619c4d;hb=a8e7f108c3aad37a5291b12ac37844dbea8cfd9b;hp=947d7a367fd6d13732702b5db09c8a5249368156;hpb=39fb8198febde1937019db1c300ec363aab5aa56;p=dcpomatic.git diff --git a/src/wx/suspender.h b/src/wx/suspender.h index 947d7a367..e01888823 100644 --- a/src/wx/suspender.h +++ b/src/wx/suspender.h @@ -19,14 +19,14 @@ */ -#include +#include #include class Suspender { public: - Suspender (boost::function handler); + Suspender (std::function handler); bool check (int property); @@ -47,7 +47,7 @@ private: void increment (); void decrement (); - boost::function _handler; - int _count; + std::function _handler; + int _count = 0; std::set _pending; };