aboutsummaryrefslogtreecommitdiff
path: root/src/rpc
diff options
context:
space:
mode:
authorRiccardo Spagni <ric@spagni.net>2018-10-26 22:41:43 +0200
committerRiccardo Spagni <ric@spagni.net>2018-10-26 22:41:43 +0200
commit00a7d441d6c05bb05e636a9041705e768200db2c (patch)
treebf40d89032ea8846776ec99a7b92683813ba39d7 /src/rpc
parentMerge pull request #4700 (diff)
parentrpc: fix build with older compilers (diff)
downloadmonero-00a7d441d6c05bb05e636a9041705e768200db2c.tar.xz
Merge pull request #4719
0aff4987 rpc: fix build with older compilers (moneromooo-monero)
Diffstat (limited to 'src/rpc')
-rw-r--r--src/rpc/daemon_messages.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rpc/daemon_messages.h b/src/rpc/daemon_messages.h
index be3138e3b..8488bab0b 100644
--- a/src/rpc/daemon_messages.h
+++ b/src/rpc/daemon_messages.h
@@ -67,7 +67,7 @@ class classname \
// NOTE: when using a type with multiple template parameters,
// replace any comma in the template specifier with the macro
// 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