[tidy] modernize-make-unique

This commit is contained in:
Bruno de Oliveira Abinader
2017-05-12 16:43:31 +03:00
parent 19c15ab557
commit 17af488048

View File

@@ -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