Merge remote-tracking branch 'origin/bug/235-corrupt-chain-file' into bug/235-corrupt-chain-file
This commit is contained in:
commit
f52648b6e5
11 changed files with 1041 additions and 1041 deletions
|
|
@ -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)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -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
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -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> {
|
||||||
|
|
|
||||||
|
|
@ -759,4 +759,3 @@ void from_variant(const fc::variant& v, graphene::chain::tournament_object& tour
|
||||||
} //end namespace fc
|
} //end namespace fc
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue