diff options
author | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-12 16:43:31 +0300 |
---|---|---|
committer | Bruno de Oliveira Abinader <bruno@mapbox.com> | 2017-05-12 18:07:36 +0300 |
commit | 17af488048a394e06a85ec5b026ca4968db9fbc4 (patch) | |
tree | 980f781fb0ac27e8e6b769d36b66a7d7d6b06d8a /platform/linux | |
parent | 19c15ab557728247ea900118aaace1e45763baf4 (diff) | |
download | qtlocation-mapboxgl-17af488048a394e06a85ec5b026ca4968db9fbc4.tar.gz |
[tidy] modernize-make-unique
Diffstat (limited to 'platform/linux')
-rw-r--r-- | platform/linux/src/headless_backend_glx.cpp | 2 |
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 |