diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2014-12-04 12:59:09 +0100 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2014-12-04 12:59:09 +0100 |
commit | b449b22abcceddab154e1694eb4f8ca8e392e35f (patch) | |
tree | a4dfeb8d2c52fe2877863625465dca385952dad1 /platform | |
parent | 65451187f50de0ca5e76f0f10d7cfa51dac867c2 (diff) | |
download | qtlocation-mapboxgl-b449b22abcceddab154e1694eb4f8ca8e392e35f.tar.gz |
remove use of std::to_string in favor of boost::lexical_cast
std::to_string calls sprintf() internally, which is really slow
Diffstat (limited to 'platform')
-rw-r--r-- | platform/default/glfw_view.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/platform/default/glfw_view.cpp b/platform/default/glfw_view.cpp index 4ddcd9019d..d9248f76de 100644 --- a/platform/default/glfw_view.cpp +++ b/platform/default/glfw_view.cpp @@ -1,8 +1,6 @@ #include <mbgl/platform/default/glfw_view.hpp> #include <mbgl/platform/gl.hpp> -#include <mbgl/util/string.hpp> - GLFWView::GLFWView(bool fullscreen_) : fullscreen(fullscreen_) { #ifdef NVIDIA glDiscardFramebufferEXT = (PFNGLDISCARDFRAMEBUFFEREXTPROC)glfwGetProcAddress("glDiscardFramebufferEXT"); |