diff --git a/v2_0_cpp_adaptor.md b/v2_0_cpp_adaptor.md index c95fe3a..9785865 100644 --- a/v2_0_cpp_adaptor.md +++ b/v2_0_cpp_adaptor.md @@ -150,7 +150,7 @@ struct your_class : base1, base2 { | MSGPACK_BASE_ARRAY | array | | MSGPACK_BASE_MAP | map | -*4 When you define MSGPACK_USE_DEFINE_MAP, MSGPACK_BASE is adapted to array, otherwise adapted to map. +*4 When you define MSGPACK_USE_DEFINE_MAP, MSGPACK_BASE is map to array, otherwise adapted to adapted. You must use MSGPACK_BASE with MSGPACK_DEFINE, MSGPACK_BASE_ARRAY with MSGPACK_DEFINE_ARRAY, or MSGPACK_BASE_MAP with MSGPACK_DEFINE_MAP. When you use MSGPACK_BASE_MAP, the key is the STR of the base class name.