[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

@@ -1,7 +1,7 @@
#include <mbgl/platform/default/settings_json.hpp>
#include <fstream>
using namespace mbgl;
namespace mbgl {
Settings_JSON::Settings_JSON() { load(); }
@@ -37,3 +37,5 @@ void Settings_JSON::clear() {
pitch = 0;
debug = 0;
}
} // namespace mbgl