From d6649d16b57e20b05075f1c80d0de7ff32cca1a4 Mon Sep 17 00:00:00 2001 From: Fabian Jahr Date: Wed, 10 Jul 2019 15:46:02 -0400 Subject: [PATCH] Use strong enum for WalletCreationStatus --- src/wallet/wallet.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/wallet/wallet.h b/src/wallet/wallet.h index 9db4b2c7d9..059528106f 100644 --- a/src/wallet/wallet.h +++ b/src/wallet/wallet.h @@ -49,7 +49,7 @@ std::vector> GetWallets(); std::shared_ptr GetWallet(const std::string& name); std::shared_ptr LoadWallet(interfaces::Chain& chain, const WalletLocation& location, std::string& error, std::string& warning); -enum WalletCreationStatus { +enum class WalletCreationStatus { SUCCESS, CREATION_FAILED, ENCRYPTION_FAILED