FC Updates from BitShares and myself #21

Closed
nathanielhourt wants to merge 687 commits from dapp-support into latest-fc
Showing only changes of commit 98a16ce397 - Show all commits

View file

@ -118,7 +118,7 @@ public:
template<typename X, typename = type_in_typelist<X>>
struct tag
{
static constexpr int value = typelist::index_of<list, X>();
static constexpr tag_type value = typelist::index_of<list, X>();
};
struct type_lt {
@ -302,7 +302,7 @@ public:
});
}
static constexpr int count() { return typelist::length<list>(); }
static constexpr size_t count() { return typelist::length<list>(); }
void set_which( tag_type w ) {
FC_ASSERT( w >= 0 );
FC_ASSERT( w < count() );