summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 16:17:49 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2017-05-12 18:07:36 +0300
commitc6eb4afe0ebdabfd436a80adf8af505779859404 (patch)
treee3a2b7f27d3489dd0bb6eeb4169f26dc24289244
parent37046938dae87e99fddbc73573fae32c683c616d (diff)
downloadqtlocation-mapboxgl-c6eb4afe0ebdabfd436a80adf8af505779859404.tar.gz
[tidy] modernize-deprecated-headers
-rw-r--r--platform/glfw/main.cpp2
-rw-r--r--test/storage/local_file_source.test.cpp2
-rw-r--r--test/util/memory.test.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/platform/glfw/main.cpp b/platform/glfw/main.cpp
index ef8ad91544..97c77b3742 100644
--- a/platform/glfw/main.cpp
+++ b/platform/glfw/main.cpp
@@ -7,7 +7,7 @@
#include <mbgl/util/default_thread_pool.hpp>
#include <mbgl/storage/default_file_source.hpp>
-#include <signal.h>
+#include <csignal>
#include <getopt.h>
#include <fstream>
#include <sstream>
diff --git a/test/storage/local_file_source.test.cpp b/test/storage/local_file_source.test.cpp
index 1b90e5bb1e..4d509e6c7d 100644
--- a/test/storage/local_file_source.test.cpp
+++ b/test/storage/local_file_source.test.cpp
@@ -3,7 +3,7 @@
#include <mbgl/util/run_loop.hpp>
#include <unistd.h>
-#include <limits.h>
+#include <climits>
#include <gtest/gtest.h>
namespace {
diff --git a/test/util/memory.test.cpp b/test/util/memory.test.cpp
index 065d024bef..f824ba30ca 100644
--- a/test/util/memory.test.cpp
+++ b/test/util/memory.test.cpp
@@ -17,7 +17,7 @@
#include <unordered_map>
#include <utility>
-#include <stdlib.h>
+#include <cstdlib>
#include <unistd.h>
using namespace mbgl;