Skip to content

Commit

Permalink
GH-1062 Spell out construction desired for gcc
Browse files Browse the repository at this point in the history
  • Loading branch information
heifner committed Feb 5, 2025
1 parent 0d772f3 commit d00a4f7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/chain/include/eosio/chain/block.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ namespace eosio { namespace chain {
signed_block& operator=(signed_block&&) = default;
mutable_block_ptr clone() const { return std::unique_ptr<signed_block>(new signed_block(*this)); }
static mutable_block_ptr create_mutable_block(const signed_block_header& h) { return std::unique_ptr<signed_block>(new signed_block(h)); }
static signed_block_ptr create_signed_block(mutable_block_ptr&& b) { b->pack(); return b; }
static signed_block_ptr create_signed_block(mutable_block_ptr&& b) { b->pack(); return signed_block_ptr{std::move(b)}; }

deque<transaction_receipt> transactions; /// new or generated transactions
extensions_type block_extensions;
Expand Down

0 comments on commit d00a4f7

Please sign in to comment.