aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-24 20:36:25 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2018-10-24 20:36:58 +0000
commit0aff49873c28ae6d9718f790860b103ce7142354 (patch)
tree402cb845d713300371271aed64214a060cbbee71 /src
parentMerge pull request #4697 (diff)
downloadmonero-0aff49873c28ae6d9718f790860b103ce7142354.tar.xz
rpc: fix build with older compilers
Diffstat (limited to 'src')
-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