Changeset 84


Ignore:
Timestamp:
06/02/13 10:25:15 (12 years ago)
Author:
melon
Message:

Another portion of bugfixes. Missing typename...

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/types.hh

    r83 r84  
    191191              , type( nullptr )
    192192              , flags( 0 )
    193               , offset( offsetof( TOBJECT, *field ) )
     193              , offset( offsetof( TOBJECT, field ) )
    194194              // NOTE: if offsetof behaves badly, check offset_of in common.hh
    195195        {
    196196            flags = TF_CONTAINER |
    197                 ( std::is_pointer<TFIELD::value_type>::value ? TF_POINTER : 0 ) |
    198                 ( std::is_pod<TFIELD::value_type>::value ? TF_SIMPLETYPE : 0 );
     197                ( std::is_pointer<typename TFIELD::value_type>::value ? TF_POINTER : 0 ) |
     198                ( std::is_pod<typename TFIELD::value_type>::value ? TF_SIMPLETYPE : 0 );
    199199        }
    200200
     
    206206              , type( nullptr )
    207207              , flags( 0 )
    208               , offset( offsetof( TOBJECT, *field ) )
     208              , offset( offsetof( TOBJECT, field ) )
    209209              // NOTE: if offsetof behaves badly, check offset_of in common.hh
    210210        {
Note: See TracChangeset for help on using the changeset viewer.