Changeset 63


Ignore:
Timestamp:
05/30/13 17:00:10 (12 years ago)
Author:
melon
Message:

Fixes some, but not all errors in types.hh

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/types.hh

    r62 r63  
    9999    inline const char* get_type_name()
    100100    {
    101         static_assert( false, "Type not implemented!" );
     101        static_assert(sizeof(TYPE) == 0, "Type not implemented!");
     102        return NULL;
    102103    }
    103104
     
    213214                type_field( hash_string name, TFIELD TOBJECT::*field, typename std::enable_if< is_container<TFIELD>::value, void* >::type = nullptr )
    214215                        : name(name)
    215                         , type_name( get_type_name< std::remove_pointer<TFIELD::value_type>::type >() )
     216                        , type_name( get_type_name< std::remove_pointer<typename TFIELD::value_type>::type >() )
    216217                        , type( nullptr )
    217218                        , flags( 0 )
Note: See TracChangeset for help on using the changeset viewer.