mirror of
https://github.com/msgpack/msgpack-c
synced 2026-06-08 16:11:40 +00:00
fix typo "constractible"->"constructable"
+1
-1
@@ -223,7 +223,7 @@ class my_class {
|
||||
public:
|
||||
my_class() {} // When you want to convert from msgpack::object to my_class
|
||||
// using msgpack::object::as fucntion template,
|
||||
// my_class should be default constractible.
|
||||
// my_class should be default constructible.
|
||||
my_class(std::string const& name, int age):name_(name), age_(age) {}
|
||||
|
||||
// my_class should provide getters for the data members you want to pack.
|
||||
|
||||
Reference in New Issue
Block a user