]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/monitor.h
Use nullptr in place of 0 or NULL
[libs/gui.git] / source / graphics / monitor.h
index 0fc9798568348e1eedd745eac9c8212e3f41fd4e..b74cea898a6398390cce90d21ad20bcea06fb000 100644 (file)
@@ -12,7 +12,7 @@ struct Monitor
 {
        struct Settings
        {
-               const VideoMode *mode = 0;
+               const VideoMode *mode = nullptr;
                VideoRotation rotation = ROTATE_NORMAL;
                int x = 0;
                int y = 0;
@@ -23,8 +23,8 @@ struct Monitor
        std::list<const VideoMode *> video_modes;
        Settings desktop_settings;
        Settings current_settings;
-       const Monitor *next_left = 0;
-       const Monitor *next_right = 0;
+       const Monitor *next_left = nullptr;
+       const Monitor *next_right = nullptr;
 };
 
 } // namespace Graphics