Skip to content
This repository was archived by the owner on Aug 2, 2022. It is now read-only.

Commit 9a45edc

Browse files
authored
Merge pull request #778 from EOSIO/1.7.x/bin-extension-fix
release/1.7.x `binary_extension` and explicit default constructors fix
2 parents c69675f + d73789e commit 9a45edc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

libraries/eosiolib/core/eosio/binary_extension.hpp

+2-2
Original file line numberDiff line numberDiff line change
@@ -103,12 +103,12 @@ namespace eosio {
103103
}
104104
constexpr T value_or()& {
105105
if (!_has_value)
106-
return {};
106+
return T();
107107
return _get();
108108
}
109109
constexpr T value_or()const& {
110110
if (!_has_value)
111-
return {};
111+
return T();
112112
return _get();
113113
}
114114

0 commit comments

Comments
 (0)