summaryrefslogtreecommitdiff
path: root/ACE/ace/Codecs.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Codecs.h')
-rw-r--r--ACE/ace/Codecs.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/ACE/ace/Codecs.h b/ACE/ace/Codecs.h
index 6440e7dad8c..4809f4a0fa8 100644
--- a/ACE/ace/Codecs.h
+++ b/ACE/ace/Codecs.h
@@ -81,12 +81,11 @@ public:
protected:
// Prevent default construction.
- ACE_Base64 (void) {}
+ ACE_Base64 () = default;
private:
- // Preventing copying and assignment.
- ACE_Base64 (ACE_Base64 const &);
- ACE_Base64 & operator= (ACE_Base64 const &);
+ ACE_Base64 (ACE_Base64 const &) = delete;
+ ACE_Base64 & operator= (ACE_Base64 const &) = delete;
/// Initialize the tables for encoding/decoding.
static void init (void);