提交 c4e4ab89 编写于 作者: B Brian Johnson

Fixing gcc's poor handling of captured variable.

上级 47a2fa2a
......@@ -386,7 +386,8 @@ bool account_history_plugin_impl::is_scope_relevant(const vector<account_name>&
fc::variant account_history_plugin_impl::transaction_to_variant(const signed_transaction& txn) const
{
auto resolver = [&database = chain_plug->chain().get_database()]( const account_name& name ) -> optional<abi_serializer> {
const chainbase::database& database = chain_plug->chain().get_database();
auto resolver = [&database]( const account_name& name ) -> optional<abi_serializer> {
const auto* accnt = database.find<chain::account_object,chain::by_name>( name );
if (accnt != nullptr) {
abi_def abi;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册