From a468803bd934c4151b982aa6e2a8f118f6cd79ea Mon Sep 17 00:00:00 2001 From: "Wladimir J. van der Laan" Date: Mon, 2 May 2016 13:07:14 +0200 Subject: [PATCH] Merge #7964: Minor changes for c++11 consistency MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 07e4edb auto_ptr → unique_ptr (Wladimir J. van der Laan) 073225c chain: define enum used as bit field as uint32_t (Wladimir J. van der Laan) --- src/chain.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/chain.h b/src/chain.h index a9417027d..4dfa58ec9 100644 --- a/src/chain.h +++ b/src/chain.h @@ -108,7 +108,7 @@ struct CDiskBlockPos }; -enum BlockStatus { +enum BlockStatus: uint32_t { //! Unused. BLOCK_VALID_UNKNOWN = 0,