aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/XPM.cxx
diff options
context:
space:
mode:
authorNeil <nyamatongwe@gmail.com>2021-10-29 21:35:57 +1100
committerNeil <nyamatongwe@gmail.com>2021-10-29 21:35:57 +1100
commit576392a0bb0823b6f980db1d3db60149512e91e4 (patch)
tree98faa538626b48c5a0c64bd934af5f1985e4fd04 /src/XPM.cxx
parentabc48010e67cb7467f2825fdb497ed491e60bb52 (diff)
downloadscintilla-mirror-576392a0bb0823b6f980db1d3db60149512e91e4.tar.gz
Remove standard operations for XPM module to follow rule-of-zero.
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();