[core] change RapidJSON usage to use CrtAllocator and bump GeoJSON VT
This commit is contained in:
14
src/mbgl/util/rapidjson.hpp
Normal file
14
src/mbgl/util/rapidjson.hpp
Normal 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
|
||||
Reference in New Issue
Block a user