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

GCC defect fixes. #6833

Merged
merged 2 commits into from
Feb 26, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/chain/controller.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ struct controller_impl {

SET_APP_HANDLER( eosio, eosio, canceldelay );

fork_db.irreversible.connect( [&]( auto b ) {
fork_db.irreversible.connect( [&]( const block_state_ptr& b ) {
on_irreversible(b);
});

Expand Down
2 changes: 1 addition & 1 deletion plugins/net_plugin/net_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -686,7 +686,7 @@ namespace eosio {

chain_plugin* chain_plug = nullptr;

constexpr auto stage_str(stages s );
constexpr static auto stage_str(stages s);

public:
explicit sync_manager(uint32_t span);
Expand Down
2 changes: 1 addition & 1 deletion plugins/state_history_plugin/state_history_plugin.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ struct state_history_plugin_impl : std::enable_shared_from_this<state_history_pl

void do_accept() {
auto socket = std::make_shared<tcp::socket>(app().get_io_service());
acceptor->async_accept(*socket, [self = shared_from_this(), socket, this](auto ec) {
acceptor->async_accept(*socket, [self = shared_from_this(), socket, this](const boost::system::error_code& ec) {
if (stopping)
return;
if (ec) {
Expand Down
4 changes: 2 additions & 2 deletions plugins/wallet_plugin/yubihsm_wallet.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ struct yubihsm_wallet_impl {

void prime_keepalive_timer() {
keepalive_timer.expires_at(std::chrono::steady_clock::now() + std::chrono::seconds(20));
keepalive_timer.async_wait([this](auto ec){
keepalive_timer.async_wait([this](const boost::system::error_code& ec){
if(ec || !session)
return;

Expand Down Expand Up @@ -269,4 +269,4 @@ optional<signature_type> yubihsm_wallet::try_sign_digest(const digest_type diges
return my->try_sign_digest(digest, public_key);
}

}}
}}