]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/videomode.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / videomode.cpp
index dfd002ed83a54798772a8d3b43ee468e7ae00389..d9c20794da611a492bf1e588d599211f84213604 100644 (file)
@@ -9,22 +9,9 @@ unsupported_video_mode::unsupported_video_mode(const VideoMode &mode):
 { }
 
 
-VideoMode::VideoMode():
-       index(0),
-       monitor(0),
-       width(0),
-       height(0),
-       rate(0),
-       rotation(ROTATE_ANY)
-{ }
-
 VideoMode::VideoMode(unsigned w, unsigned h):
-       index(0),
-       monitor(0),
        width(w),
-       height(h),
-       rate(0),
-       rotation(ROTATE_ANY)
+       height(h)
 { }
 
 } // namespace Graphics