Commit fa6b9e93 authored by Joseph Noir's avatar Joseph Noir

Match meta type name to struct name

parent ff74ba2f
...@@ -49,7 +49,7 @@ struct new_basp_msg { ...@@ -49,7 +49,7 @@ struct new_basp_msg {
template <class Inspector> template <class Inspector>
typename Inspector::result_type inspect(Inspector& fun, typename Inspector::result_type inspect(Inspector& fun,
new_basp_msg& msg) { new_basp_msg& msg) {
return fun(meta::type_name("new_basp_message"), msg.header, return fun(meta::type_name("new_basp_msg"), msg.header,
msg.payload_len); msg.payload_len);
} }
......
...@@ -31,7 +31,7 @@ struct new_raw_msg { ...@@ -31,7 +31,7 @@ struct new_raw_msg {
template <class Inspector> template <class Inspector>
typename Inspector::result_type inspect(Inspector& fun, new_raw_msg& data) { typename Inspector::result_type inspect(Inspector& fun, new_raw_msg& data) {
return fun(meta::type_name("raw_data_message"), data.payload_len); return fun(meta::type_name("new_raw_msg"), data.payload_len);
} }
struct raw { struct raw {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment