[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT

This commit is contained in:
Konstantin Käfer
2015-12-14 16:07:15 -08:00
parent 9b8f5d3be1
commit 95cef66e22
36 changed files with 165 additions and 168 deletions

View File

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