mirror of
https://github.com/msgpack/msgpack-c.git
synced 2025-03-19 21:18:23 +01:00
cpp: msgpack::define is obsolete
This commit is contained in:
parent
3afa9f265e
commit
7fbe845434
@ -129,6 +129,7 @@ private:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
// obsolete
|
||||||
template <typename Type>
|
template <typename Type>
|
||||||
class define : public Type {
|
class define : public Type {
|
||||||
public:
|
public:
|
||||||
|
@ -24,7 +24,6 @@
|
|||||||
{ \
|
{ \
|
||||||
msgpack::type::make_define(__VA_ARGS__).msgpack_pack(pk); \
|
msgpack::type::make_define(__VA_ARGS__).msgpack_pack(pk); \
|
||||||
} \
|
} \
|
||||||
\
|
|
||||||
void msgpack_unpack(msgpack::object o) \
|
void msgpack_unpack(msgpack::object o) \
|
||||||
{ \
|
{ \
|
||||||
msgpack::type::make_define(__VA_ARGS__).msgpack_unpack(o); \
|
msgpack::type::make_define(__VA_ARGS__).msgpack_unpack(o); \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user