diff --git a/cpp/oneapi/dal/detail/global_context.hpp b/cpp/oneapi/dal/detail/global_context.hpp index 240b8f7867b..8fdcac8a8ca 100644 --- a/cpp/oneapi/dal/detail/global_context.hpp +++ b/cpp/oneapi/dal/detail/global_context.hpp @@ -31,6 +31,8 @@ class global_context : public global_context_iface { public: static const global_context_iface& get_global_context(); + virtual ~global_context() = default; + global_context(const global_context& ctx) = delete; global_context& operator=(const global_context& ctx) = delete;