X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=src%2Fapp.hpp;h=9424d9f65651e7bd1e58fcbfda641c9c9f3754f5;hb=refs%2Ftags%2Feel_4.99.5;hp=bc273f565410e86af272741f5149c95f6390815b;hpb=19609464e573625fb82e55aa7e92d43d44f0b825;p=staging%2Fwindowmanager.git diff --git a/src/app.hpp b/src/app.hpp index bc273f5..9424d9f 100644 --- a/src/app.hpp +++ b/src/app.hpp @@ -47,9 +47,6 @@ namespace wm { using std::experimental::optional; struct id_allocator { - constexpr static const unsigned id_shift = 22; - constexpr static const unsigned id_mask = (1 << id_shift) - 1; - unsigned next = 1; // Surfaces that where requested but not yet created @@ -129,7 +126,7 @@ struct App { Policy policy; explicit App(wl::display *d); - ~App(); + ~App() = default; App(App const &) = delete; App &operator=(App const &) = delete;