diff options
author | Konstantin Käfer <mail@kkaefer.com> | 2015-12-14 16:07:15 -0800 |
---|---|---|
committer | Konstantin Käfer <mail@kkaefer.com> | 2015-12-14 16:43:35 -0800 |
commit | 95cef66e229f3ae346a66ea87f95a8a660c3108f (patch) | |
tree | 55a571023c47fb893314dbc98bc7d4cc6cca6273 /src/mbgl/util | |
parent | 9b8f5d3be1d25a0eefe7f9f22544d439f54d92b1 (diff) | |
download | qtlocation-mapboxgl-95cef66e229f3ae346a66ea87f95a8a660c3108f.tar.gz |
[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT
Diffstat (limited to 'src/mbgl/util')
-rw-r--r-- | src/mbgl/util/rapidjson.hpp | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/mbgl/util/rapidjson.hpp b/src/mbgl/util/rapidjson.hpp new file mode 100644 index 0000000000..c9aad871d9 --- /dev/null +++ b/src/mbgl/util/rapidjson.hpp @@ -0,0 +1,14 @@ +#ifndef MBGL_UTIL_RAPIDJSON +#define MBGL_UTIL_RAPIDJSON + +#include <rapidjson/document.h> +#include <rapidjson/error/en.h> + +namespace mbgl { + +using JSDocument = rapidjson::GenericDocument<rapidjson::UTF8<>, rapidjson::CrtAllocator>; +using JSValue = rapidjson::GenericValue<rapidjson::UTF8<>, rapidjson::CrtAllocator>; + +} // namespace mbgl + +#endif |