rpc: blanket initialize 0MQ request and response structures

This commit is contained in:
moneromooo-monero 2018-10-08 14:03:08 +00:00
parent e19652df51
commit f5f7c2ac24
No known key found for this signature in database
GPG key ID: 686F07454D6CEFC3

View file

@ -67,7 +67,7 @@ class classname \
// NOTE: when using a type with multiple template parameters, // NOTE: when using a type with multiple template parameters,
// replace any comma in the template specifier with the macro // replace any comma in the template specifier with the macro
// above, or the preprocessor will eat the comma in a bad way. // above, or the preprocessor will eat the comma in a bad way.
#define RPC_MESSAGE_MEMBER(type, name) type name; #define RPC_MESSAGE_MEMBER(type, name) type name = type{}
namespace cryptonote namespace cryptonote