diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2016-07-01 11:51:54 +0200 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2016-07-01 12:38:33 +0200 |
commit | 77e784675687d13439a8104c97c5bb0a9ccd8b01 (patch) | |
tree | ac5fe39c7c1d0db0923fec2b00b56291ef0f548e /src/mbgl/tile/raster_tile.cpp | |
parent | da863c6e52f656bd35c3d3346093a24d747d0bbd (diff) | |
download | qtlocation-mapboxgl-77e784675687d13439a8104c97c5bb0a9ccd8b01.tar.gz |
[core] code style cleanups
- puts function definitions in a namespace ... {} rather than using namespace ...;
- remove trailing whitespace
- add trailing newline
- protect SQL statements from being formatted by clang-format
Diffstat (limited to 'src/mbgl/tile/raster_tile.cpp')
-rw-r--r-- | src/mbgl/tile/raster_tile.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/mbgl/tile/raster_tile.cpp b/src/mbgl/tile/raster_tile.cpp index a0f172a017..2460aac8f9 100644 --- a/src/mbgl/tile/raster_tile.cpp +++ b/src/mbgl/tile/raster_tile.cpp @@ -9,7 +9,7 @@ #include <mbgl/util/worker.hpp> #include <mbgl/util/work_request.hpp> -using namespace mbgl; +namespace mbgl { RasterTile::RasterTile(const OverscaledTileID& id_, const style::UpdateParameters& parameters, @@ -67,3 +67,5 @@ void RasterTile::setNecessity(Necessity necessity) { void RasterTile::cancel() { workRequest.reset(); } + +} // namespace mbgl |