]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/window.h
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / window.h
index 09ab25b1b42e3d9bebb86e659bbe62228a0b74f2..de8a3d0beaccf79c2bc7bf9e42c3535840636fbf 100644 (file)
@@ -18,7 +18,7 @@ struct WindowOptions
        unsigned width = 640;
        unsigned height = 480;
        bool fullscreen = false;
-       const Monitor *fullscreen_monitor = 0;
+       const Monitor *fullscreen_monitor = nullptr;
        bool fullscreen_exclusive = true;
        bool resizable = false;
 };
@@ -50,7 +50,7 @@ protected:
        bool touch_input = false;
        bool resizing = false;
        bool moving = false;
-       Private *priv = 0;
+       Private *priv = nullptr;
 
 public:
        Window(Display &, unsigned w, unsigned h, bool fs = false);