[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
This commit is contained in:
Konstantin Käfer
2016-07-01 11:51:54 +02:00
parent da863c6e52
commit 77e7846756
51 changed files with 268 additions and 155 deletions

View File

@@ -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