Skip to content

Commit

Permalink
Merge pull request #1426 from oxarbitrage/fix-build-errors
Browse files Browse the repository at this point in the history
Fix build errors - replaces #1421
  • Loading branch information
oxarbitrage authored Nov 10, 2018
2 parents 082f0ef + 9952121 commit 32d8d08
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/app/database_api.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2448,7 +2448,7 @@ void database_api_impl::on_applied_block()
}
if( market.valid() && _market_subscriptions.count(*market) )
// FIXME this may cause fill_order_operation be pushed before order creation
subscribed_markets_ops[*market].emplace_back( std::move( std::make_pair( op.op, op.result ) ) );
subscribed_markets_ops[*market].emplace_back(std::make_pair(op.op, op.result));
}
/// we need to ensure the database_api is not deleted for the life of the async operation
auto capture_this = shared_from_this();
Expand Down
2 changes: 2 additions & 0 deletions libraries/chain/fork_database.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
#include <graphene/chain/fork_database.hpp>
#include <graphene/chain/exceptions.hpp>

#include <fc/smart_ref_impl.hpp>

namespace graphene { namespace chain {
fork_database::fork_database()
{
Expand Down
2 changes: 2 additions & 0 deletions libraries/chain/include/graphene/chain/protocol/account.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -274,13 +274,15 @@ FC_REFLECT_ENUM( graphene::chain::account_whitelist_operation::account_listing,
(no_listing)(white_listed)(black_listed)(white_and_black_listed))

FC_REFLECT(graphene::chain::account_create_operation::ext, (null_ext)(owner_special_authority)(active_special_authority)(buyback_options) )
FC_REFLECT_TYPENAME(graphene::chain::extension<graphene::chain::account_create_operation::ext>)
FC_REFLECT( graphene::chain::account_create_operation,
(fee)(registrar)
(referrer)(referrer_percent)
(name)(owner)(active)(options)(extensions)
)

FC_REFLECT(graphene::chain::account_update_operation::ext, (null_ext)(owner_special_authority)(active_special_authority) )
FC_REFLECT_TYPENAME(graphene::chain::extension<graphene::chain::account_update_operation::ext>)
FC_REFLECT( graphene::chain::account_update_operation,
(fee)(account)(owner)(active)(new_options)(extensions)
)
Expand Down

0 comments on commit 32d8d08

Please # to comment.