[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

@@ -10,7 +10,7 @@
#include <mbgl/gl/gl_helper.hpp>
#include <mbgl/util/color.hpp>
using namespace mbgl;
namespace mbgl {
void Painter::renderTileDebug(const RenderTile& tile) {
MBGL_DEBUG_GROUP(std::string { "debug " } + util::toString(tile.id));
@@ -118,3 +118,5 @@ void Painter::renderClipMasks() {
MBGL_CHECK_ERROR(glDrawPixels(fbSize[0], fbSize[1], GL_LUMINANCE, GL_UNSIGNED_BYTE, pixels.get()));
#endif // GL_ES_VERSION_2_0
}
} // namespace mbgl