aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/XPM.cxx')
-rw-r--r--src/XPM.cxx10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/XPM.cxx b/src/XPM.cxx
index eba3fb6c2..39a283b18 100644
--- a/src/XPM.cxx
+++ b/src/XPM.cxx
@@ -92,9 +92,6 @@ XPM::XPM(const char *const *linesForm) {
Init(linesForm);
}
-XPM::~XPM() {
-}
-
void XPM::Init(const char *textForm) {
// Test done is two parts to avoid possibility of overstepping the memory
// if memcmp implemented strangely. Must be 4 bytes at least at destination.
@@ -241,9 +238,6 @@ RGBAImage::RGBAImage(const XPM &xpm) {
}
}
-RGBAImage::~RGBAImage() {
-}
-
int RGBAImage::CountBytes() const noexcept {
return width * height * 4;
}
@@ -279,10 +273,6 @@ void RGBAImage::BGRAFromRGBA(unsigned char *pixelsBGRA, const unsigned char *pix
RGBAImageSet::RGBAImageSet() : height(-1), width(-1) {
}
-RGBAImageSet::~RGBAImageSet() {
- Clear();
-}
-
/// Remove all images.
void RGBAImageSet::Clear() noexcept {
images.clear();