Some defaulted ctor/dtors.

This commit is contained in:
2025-08-06 03:32:14 -04:00
parent 4a80d1d594
commit 1cd924f16f
2 changed files with 2 additions and 13 deletions

View File

@ -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)
{

View File

@ -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; };