Merge remote-tracking branch 'origin/bug/235-corrupt-chain-file' into bug/235-corrupt-chain-file

This commit is contained in:
Vlad Dobromyslov 2022-02-28 20:15:56 +03:00
commit f52648b6e5
11 changed files with 1041 additions and 1041 deletions

View file

@ -344,7 +344,6 @@ struct event_state_machine_ : public msm::front::state_machine_def<event_state_m
{ {
FC_THROW_EXCEPTION(graphene::chain::no_transition, "No transition"); FC_THROW_EXCEPTION(graphene::chain::no_transition, "No transition");
} }
template <class Fsm> template <class Fsm>
void no_transition(canceled_event const& e, Fsm&, int state) void no_transition(canceled_event const& e, Fsm&, int state)
{ {

View file

@ -579,3 +579,5 @@ void from_variant(const fc::variant& v, graphene::chain::game_object& game_obj,
const_cast<int*>(game_obj.my->state_machine.current_state())[0] = (int)state; const_cast<int*>(game_obj.my->state_machine.current_state())[0] = (int)state;
} }
} //end namespace fc } //end namespace fc

View file

@ -754,7 +754,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw::detail
template <> template <>
struct get_typename<graphene::chain::betting_market_object> { struct get_typename<graphene::chain::betting_market_object> {
@ -804,7 +804,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw:detail
template <> template <>
struct get_typename<graphene::chain::betting_market_group_object> { struct get_typename<graphene::chain::betting_market_group_object> {

View file

@ -193,7 +193,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw::detail
template <> template <>
struct get_typename<graphene::chain::event_object> { struct get_typename<graphene::chain::event_object> {

View file

@ -196,7 +196,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw::detail
template <> template <>
struct get_typename<graphene::chain::game_object> { struct get_typename<graphene::chain::game_object> {

View file

@ -194,7 +194,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw::detail
template <> template <>
struct get_typename<graphene::chain::match_object> { struct get_typename<graphene::chain::match_object> {

View file

@ -279,7 +279,7 @@ inline void if_enum<fc::false_type>::unpack(fc::datastream<const char*> &s, grap
s >> v; s >> v;
} }
} } } } // namespace fc::raw::detail
template <> template <>
struct get_typename<graphene::chain::tournament_object> { struct get_typename<graphene::chain::tournament_object> {

View file

@ -759,4 +759,3 @@ void from_variant(const fc::variant& v, graphene::chain::tournament_object& tour
} //end namespace fc } //end namespace fc