summaryrefslogtreecommitdiff
path: root/TAO/tao/Nested_Upcall_Guard.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Nested_Upcall_Guard.h')
-rw-r--r--TAO/tao/Nested_Upcall_Guard.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tao/Nested_Upcall_Guard.h b/TAO/tao/Nested_Upcall_Guard.h
index 60c95f9e8ca..3673bae0fde 100644
--- a/TAO/tao/Nested_Upcall_Guard.h
+++ b/TAO/tao/Nested_Upcall_Guard.h
@@ -84,9 +84,10 @@ namespace TAO
private:
Nested_Upcall_Guard (void);
- /// Disallow copying and assignment.
- Nested_Upcall_Guard (const Nested_Upcall_Guard&);
- Nested_Upcall_Guard &operator= (const Nested_Upcall_Guard&);
+ Nested_Upcall_Guard (const Nested_Upcall_Guard&) = delete;
+ Nested_Upcall_Guard &operator= (const Nested_Upcall_Guard&) = delete;
+ Nested_Upcall_Guard (Nested_Upcall_Guard&&) = delete;
+ Nested_Upcall_Guard &operator= (Nested_Upcall_Guard&&) = delete;
private:
/// Pointer to the transport that we plan to use.