summaryrefslogtreecommitdiff
path: root/test/src/mbgl/test/stub_file_source.hpp
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2016-05-25 21:14:18 +0200
committerKonstantin Käfer <mail@kkaefer.com>2016-05-25 21:35:37 +0200
commite2bcea90fce8a1e05e517c615d21d845e955f53d (patch)
tree208da7ad0db235a13b5ae6d360279a624e46fb95 /test/src/mbgl/test/stub_file_source.hpp
parent6368403f433cfbfed1547d4167a9836fa2942a97 (diff)
downloadqtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'test/src/mbgl/test/stub_file_source.hpp')
-rw-r--r--test/src/mbgl/test/stub_file_source.hpp7
1 files changed, 2 insertions, 5 deletions
diff --git a/test/src/mbgl/test/stub_file_source.hpp b/test/src/mbgl/test/stub_file_source.hpp
index 477f72ed42..b88fb59907 100644
--- a/test/src/mbgl/test/stub_file_source.hpp
+++ b/test/src/mbgl/test/stub_file_source.hpp
@@ -1,5 +1,4 @@
-#ifndef TEST_RESOURCES_STUB_FILE_SOURCE
-#define TEST_RESOURCES_STUB_FILE_SOURCE
+#pragma once
#include <mbgl/storage/file_source.hpp>
#include <mbgl/util/timer.hpp>
@@ -40,6 +39,4 @@ private:
util::Timer timer;
};
-}
-
-#endif
+} // namespace mbgl