From 91ace9d465a26a6b138b46e63d9fb00db6014c9b Mon Sep 17 00:00:00 2001 From: Sudarsana Babu Nagineni Date: Fri, 27 Jul 2018 11:17:02 +0300 Subject: Remove use of noncopyable in Context --- src/mbgl/gl/context.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/mbgl/gl/context.hpp b/src/mbgl/gl/context.hpp index d95311115e..c8181d7e80 100644 --- a/src/mbgl/gl/context.hpp +++ b/src/mbgl/gl/context.hpp @@ -36,10 +36,12 @@ class Debugging; class ProgramBinary; } // namespace extension -class Context : private util::noncopyable { +class Context { public: Context(); ~Context(); + Context(const Context&) = delete; + Context& operator=(const Context& other) = delete; void initializeExtensions(const std::function&); -- cgit v1.2.1