summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2014-12-04 12:59:09 +0100
committerKonstantin Käfer <mail@kkaefer.com>2014-12-04 12:59:09 +0100
commitb449b22abcceddab154e1694eb4f8ca8e392e35f (patch)
treea4dfeb8d2c52fe2877863625465dca385952dad1 /platform
parent65451187f50de0ca5e76f0f10d7cfa51dac867c2 (diff)
downloadqtlocation-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.cpp2
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");