aboutsummaryrefslogtreecommitdiff
path: root/src/cryptonote_basic/cryptonote_stat_info.h
diff options
context:
space:
mode:
authormoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-01-18 01:05:58 +0000
committermoneromooo-monero <moneromooo-monero@users.noreply.github.com>2019-03-04 22:38:03 +0000
commite396146aeebd61d6a26003045d554f6e94d5f028 (patch)
treed0abbc7b2feb1325435c149c9f9309063e9fc670 /src/cryptonote_basic/cryptonote_stat_info.h
parentvarious: remove unused variables (diff)
downloadmonero-e396146aeebd61d6a26003045d554f6e94d5f028.tar.xz
default initialize rpc structures
Diffstat (limited to 'src/cryptonote_basic/cryptonote_stat_info.h')
-rw-r--r--src/cryptonote_basic/cryptonote_stat_info.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cryptonote_basic/cryptonote_stat_info.h b/src/cryptonote_basic/cryptonote_stat_info.h
index c0be2144e..a09fa850b 100644
--- a/src/cryptonote_basic/cryptonote_stat_info.h
+++ b/src/cryptonote_basic/cryptonote_stat_info.h
@@ -34,7 +34,7 @@
namespace cryptonote
{
- struct core_stat_info
+ struct core_stat_info_t
{
uint64_t tx_pool_size;
uint64_t blockchain_height;
@@ -50,4 +50,5 @@ namespace cryptonote
KV_SERIALIZE(top_block_id_str)
END_KV_SERIALIZE_MAP()
};
+ typedef epee::misc_utils::struct_init<core_stat_info_t> core_stat_info;
}