rpc: fix build with older compilers

This commit is contained in:
moneromooo-monero 2018-10-24 20:36:25 +00:00
parent 1e74586ee9
commit 0aff49873c
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 = type{} #define RPC_MESSAGE_MEMBER(type, name) type name = {}
namespace cryptonote namespace cryptonote