summaryrefslogtreecommitdiff
path: root/indra/llkdu/llkdumem.h
diff options
context:
space:
mode:
authorAndrey Lihatskiy <alihatskiy@productengine.com>2024-11-11 09:57:49 +0200
committerGitHub <noreply@github.com>2024-11-11 09:57:49 +0200
commit814d6d43f0720bda2e74a0ecedb560ad8fcf10a9 (patch)
tree3db2802f0ab39f2d7b1264e2ac1d3599f1a3bd5a /indra/llkdu/llkdumem.h
parenteccc9057d9d9799d3d5056bdfe255bd9e5e2be6a (diff)
parent32df877cd73b5b6a3672d0159c982077a4b67a9d (diff)
Merge pull request #3067 from secondlife/marchcat/c-develop
develop → Maint C sync
Diffstat (limited to 'indra/llkdu/llkdumem.h')
-rw-r--r--indra/llkdu/llkdumem.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/indra/llkdu/llkdumem.h b/indra/llkdu/llkdumem.h
index 177a8ea976..0ad67a3f92 100644
--- a/indra/llkdu/llkdumem.h
+++ b/indra/llkdu/llkdumem.h
@@ -28,8 +28,6 @@
#define LL_LLKDUMEM_H
// Support classes for reading and writing from memory buffers in KDU
-#define KDU_NO_THREADS
-
#define kdu_xxxx "kdu_image.h"
#include "include_kdu_xxxx.h"
@@ -54,9 +52,7 @@ public:
mCurPos = 0;
}
- ~LLKDUMemSource()
- {
- }
+ ~LLKDUMemSource() = default;
int read(kdu_core::kdu_byte *buf, int num_bytes)
{
@@ -94,9 +90,7 @@ public:
mOutputSize = &output_size;
}
- ~LLKDUMemTarget()
- {
- }
+ ~LLKDUMemTarget() = default;
bool write(const kdu_core::kdu_byte *buf, int num_bytes)
{