diff options
author | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2018-07-27 11:17:02 +0300 |
---|---|---|
committer | Sudarsana Babu Nagineni <sudarsana.babu@mapbox.com> | 2018-07-30 12:38:24 +0300 |
commit | 91ace9d465a26a6b138b46e63d9fb00db6014c9b (patch) | |
tree | 079648992e0ddef30aa9ee1a04a6c6701c59ae2a /src/mbgl/gl/context.hpp | |
parent | 15a1c7b71f276b558f028eabae53456f444cebbc (diff) | |
download | qtlocation-mapboxgl-91ace9d465a26a6b138b46e63d9fb00db6014c9b.tar.gz |
Remove use of noncopyable in Context
Diffstat (limited to 'src/mbgl/gl/context.hpp')
-rw-r--r-- | src/mbgl/gl/context.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
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<gl::ProcAddress(const char*)>&); |