App: remove unused g_app global, make dtor default
[staging/windowmanager.git] / src / app.hpp
index bc273f5..9424d9f 100644 (file)
@@ -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;