summaryrefslogtreecommitdiff
path: root/ACE/ace/Lock.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-09-28 10:39:39 +0200
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-09-28 10:39:39 +0200
commit3e4ebe5de44b75f77ffff3929546d0e9aba94941 (patch)
tree0574bc1f4894e6f12ab8c319adada50c4dd7c581 /ACE/ace/Lock.h
parentb5c94111662dfcc8dab19dc1c84e716e9cfc7f26 (diff)
downloadATCD-3e4ebe5de44b75f77ffff3929546d0e9aba94941.tar.gz
Use default/delete
* ACE/ace/Hashable.inl: Deleted. * ACE/ace/Configuration.cpp: * ACE/ace/Configuration.h: * ACE/ace/Connection_Recycling_Strategy.cpp: * ACE/ace/Connection_Recycling_Strategy.h: * ACE/ace/Hashable.cpp: * ACE/ace/Hashable.h: * ACE/ace/Lock.cpp: * ACE/ace/Lock.h: * ACE/ace/Notification_Strategy.cpp: * ACE/ace/Notification_Strategy.h: * ACE/ace/Refcountable_T.cpp: * ACE/ace/Refcountable_T.h: * ACE/ace/Registry_Name_Space.cpp: * ACE/ace/Registry_Name_Space.h: * ACE/ace/Remote_Tokens.h: * ACE/ace/Token_Request_Reply.cpp: * ACE/ace/Token_Request_Reply.h: * ACE/ace/UUID.h: * ACE/ace/UUID.inl:
Diffstat (limited to 'ACE/ace/Lock.h')
-rw-r--r--ACE/ace/Lock.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/ACE/ace/Lock.h b/ACE/ace/Lock.h
index c68a156feb1..6a24255df90 100644
--- a/ACE/ace/Lock.h
+++ b/ACE/ace/Lock.h
@@ -43,7 +43,7 @@ public:
ACE_Lock ();
/// Noop virtual destructor
- virtual ~ACE_Lock ();
+ virtual ~ACE_Lock () = default;
/**
* Explicitly destroy the lock. Note that only one thread should
@@ -121,7 +121,7 @@ class ACE_Export ACE_Adaptive_Lock : public ACE_Lock
public:
/// You must also override the destructor function to match with how
/// you construct the underneath @c lock_.
- virtual ~ACE_Adaptive_Lock ();
+ virtual ~ACE_Adaptive_Lock () = default;
// = Lock/unlock operations.
@@ -142,9 +142,9 @@ protected:
* The default constructor simply set the @c lock_ to 0 (null). You
* must overwrite this method for this class to work.
*/
- ACE_Adaptive_Lock ();
+ ACE_Adaptive_Lock () = default;
- ACE_Lock *lock_;
+ ACE_Lock *lock_ {};
};
ACE_END_VERSIONED_NAMESPACE_DECL