Skip to content

Commit 4d332ab

Browse files
committed
chore: remove redundant std::nullopt from default init
1 parent ec2473f commit 4d332ab

1 file changed

Lines changed: 10 additions & 10 deletions

File tree

src/qt/masternodemodel.h

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -41,16 +41,16 @@ class MasternodeEntry
4141
QString m_service{};
4242
QString m_type_description{};
4343
QString m_voting_address{};
44-
std::optional<int32_t> m_collateral_index{std::nullopt};
45-
std::optional<int32_t> m_consecutive_payments{std::nullopt};
46-
std::optional<int32_t> m_pose_ban_height{std::nullopt};
47-
std::optional<int32_t> m_pose_revived_height{std::nullopt};
48-
std::optional<QString> m_collateral_hash{std::nullopt};
49-
std::optional<QString> m_network_addresses{std::nullopt};
50-
std::optional<QString> m_platform_https_addresses{std::nullopt};
51-
std::optional<QString> m_platform_node_id{std::nullopt};
52-
std::optional<QString> m_platform_p2p_addresses{std::nullopt};
53-
std::optional<QString> m_pub_key_operator{std::nullopt};
44+
std::optional<int32_t> m_collateral_index{};
45+
std::optional<int32_t> m_consecutive_payments{};
46+
std::optional<int32_t> m_pose_ban_height{};
47+
std::optional<int32_t> m_pose_revived_height{};
48+
std::optional<QString> m_collateral_hash{};
49+
std::optional<QString> m_network_addresses{};
50+
std::optional<QString> m_platform_https_addresses{};
51+
std::optional<QString> m_platform_node_id{};
52+
std::optional<QString> m_platform_p2p_addresses{};
53+
std::optional<QString> m_pub_key_operator{};
5454
uint16_t m_operator_reward_pct{0};
5555

5656
public:

0 commit comments

Comments
 (0)