From e396146aeebd61d6a26003045d554f6e94d5f028 Mon Sep 17 00:00:00 2001 From: moneromooo-monero Date: Fri, 18 Jan 2019 01:05:58 +0000 Subject: default initialize rpc structures --- contrib/epee/include/misc_language.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'contrib/epee/include/misc_language.h') diff --git a/contrib/epee/include/misc_language.h b/contrib/epee/include/misc_language.h index 7e4eb337d..5f7202150 100644 --- a/contrib/epee/include/misc_language.h +++ b/contrib/epee/include/misc_language.h @@ -159,5 +159,10 @@ namespace misc_utils return slc; } + template struct struct_init: T + { + struct_init(): T{} {} + }; + } } -- cgit v1.2.3