diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 21:14:18 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-05-25 21:35:37 +0200 |
commit | e2bcea90fce8a1e05e517c615d21d845e955f53d (patch) | |
tree | 208da7ad0db235a13b5ae6d360279a624e46fb95 /test/algorithm | |
parent | 6368403f433cfbfed1547d4167a9836fa2942a97 (diff) | |
download | qtlocation-mapboxgl-e2bcea90fce8a1e05e517c615d21d845e955f53d.tar.gz |
[core] use #pragma once instead of ifdef include guards
Diffstat (limited to 'test/algorithm')
-rw-r--r-- | test/algorithm/mock.hpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/test/algorithm/mock.hpp b/test/algorithm/mock.hpp index 89f51b15b8..0faddcac7e 100644 --- a/test/algorithm/mock.hpp +++ b/test/algorithm/mock.hpp @@ -1,5 +1,4 @@ -#ifndef MBGL_TEST_MOCK -#define MBGL_TEST_MOCK +#pragma once #include <cstdint> #include <string> @@ -56,5 +55,3 @@ MockTileData* MockSource::createTileData(const mbgl::OverscaledTileID& tileID) { // Replace the existing MockTileData object, if any. return (dataTiles[tileID] = std::make_unique<MockTileData>()).get(); } - -#endif |