summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 16:43:31 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 18:07:36 +0300
commit17af488048a394e06a85ec5b026ca4968db9fbc4 (patch)
tree980f781fb0ac27e8e6b769d36b66a7d7d6b06d8a
parent19c15ab557728247ea900118aaace1e45763baf4 (diff)
downloadqtlocation-mapboxgl-17af488048a394e06a85ec5b026ca4968db9fbc4.tar.gz
[tidy] modernize-make-unique
-rw-r--r--platform/linux/src/headless_backend_glx.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/linux/src/headless_backend_glx.cpp b/platform/linux/src/headless_backend_glx.cpp
index 7c6e679fce..eec0e7656f 100644
--- a/platform/linux/src/headless_backend_glx.cpp
+++ b/platform/linux/src/headless_backend_glx.cpp
@@ -81,7 +81,7 @@ void HeadlessBackend::createContext() {
};
GLXPbuffer glxPbuffer = glXCreatePbuffer(xDisplay, fbConfigs[0], pbufferAttributes);
- impl.reset(new GLXImpl(glContext, glxPbuffer, xDisplay, fbConfigs));
+ impl = std::make_unique<mbgl::GLXImpl>(glContext, glxPbuffer, xDisplay, fbConfigs);
}
} // namespace mbgl