summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2018-07-27 11:17:02 +0300
committerSudarsana Babu Nagineni <sudarsana.babu@mapbox.com>2018-07-30 12:38:24 +0300
commit91ace9d465a26a6b138b46e63d9fb00db6014c9b (patch)
tree079648992e0ddef30aa9ee1a04a6c6701c59ae2a
parent15a1c7b71f276b558f028eabae53456f444cebbc (diff)
downloadqtlocation-mapboxgl-91ace9d465a26a6b138b46e63d9fb00db6014c9b.tar.gz
Remove use of noncopyable in Context
-rw-r--r--src/mbgl/gl/context.hpp4
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*)>&);