]> git.tdb.fi Git - libs/gui.git/blobdiff - source/graphics/image.cpp
Use default member initializers and defaulted default constructors
[libs/gui.git] / source / graphics / image.cpp
index 2903d499f75cfcb815a02f48de869b875bff54ef..5b2eb1ac3f6decbe74b5c774c246a9e58c6c0aa1 100644 (file)
@@ -10,14 +10,6 @@ using namespace std;
 namespace Msp {
 namespace Graphics {
 
-Image::Data::Data():
-       fmt(RGB),
-       width(0),
-       height(0),
-       owned_pixels(0),
-       pixels(0)
-{ }
-
 Image::Data::Data(const Data &other):
        fmt(other.fmt),
        width(other.width),