diff --git a/dw/image.cc b/dw/image.cc index 1fcdbb3..6582c8f 100644 --- a/dw/image.cc +++ b/dw/image.cc @@ -31,15 +31,6 @@ namespace dw { using namespace lout; -ImageMapsList::ImageMap::ImageMap () -{ - defaultLink = -1; -} - -ImageMapsList::ImageMap::~ImageMap () -{ -} - void ImageMapsList::ImageMap::draw (core::View *view,core::style::Style *style, int x, int y) { diff --git a/dw/image.hh b/dw/image.hh index d85918d..e236703 100644 --- a/dw/image.hh +++ b/dw/image.hh @@ -34,11 +34,9 @@ private: }; std::list< std::unique_ptr< ShapeAndLink > > shapesAndLinks; - int defaultLink; - public: - ImageMap (); - ~ImageMap (); + int defaultLink= -1; + public: void draw (core::View *view, core::style::Style *style, int x, int y); void add (core::Shape *shape, int link); void setDefaultLink (int link) { defaultLink = link; };