summaryrefslogtreecommitdiff
path: root/cpp/include/Ice/Object.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/Ice/Object.h')
-rw-r--r--cpp/include/Ice/Object.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/cpp/include/Ice/Object.h b/cpp/include/Ice/Object.h
index af0ae939bc9..7fb3afdf8b6 100644
--- a/cpp/include/Ice/Object.h
+++ b/cpp/include/Ice/Object.h
@@ -332,7 +332,9 @@ protected:
#if defined(__clang__)
# pragma clang diagnostic push
# pragma clang diagnostic ignored "-Wdeprecated-copy-dtor"
+#endif
virtual ~Object() {}
+#if defined(__clang__)
# pragma clang diagnostic pop
#endif