From c5a89500bd6108efc9dcec712cf04b7a195b6062 Mon Sep 17 00:00:00 2001 From: moneroexamples Date: Tue, 1 May 2018 14:02:26 +0800 Subject: [PATCH] Fix comile ission on ubuntu 16.04 --- src/MempoolStatus.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/MempoolStatus.h b/src/MempoolStatus.h index 8f20762..16d684b 100644 --- a/src/MempoolStatus.h +++ b/src/MempoolStatus.h @@ -72,8 +72,8 @@ struct MempoolStatus uint64_t cumulative_difficulty {0}; uint64_t block_size_limit {0}; uint64_t block_size_median {0}; - char block_size_limit_str[10] {"0.0"}; // needs to be trivially copyable - char block_size_median_str[10] {"0.0"} ; // std::string is not trivially copyable + char block_size_limit_str[10]; // needs to be trivially copyable + char block_size_median_str[10]; // std::string is not trivially copyable uint64_t start_time {0}; uint64_t current_hf_version {0};