Changeset 112 for trunk


Ignore:
Timestamp:
06/09/13 15:53:24 (12 years ago)
Author:
epyon
Message:
  • LLVM C++ fixes part 2
Location:
trunk/nv
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/nv/position.hh

    r110 r112  
    6363                 */
    6464                rectangle( position ul, value_type width, value_type height ) : ul(ul), lr(ul + position(width,height)) {}
     65       
     66        /**
     67         * Explicit Copy constructor
     68         */
     69        rectangle( const rectangle& r ) : ul( r.ul ), lr( r.lr ) {}
     70       
     71        /**
     72         * Explicit Copy constructor
     73         */
     74        rectangle& operator= (const rectangle& r) { ul = r.ul; lr = r.lr; return *this; }
    6575               
    6676                /**
     
    273283}
    274284
    275 #endif NV_POSITION_HH
     285#endif // NV_POSITION_HH
  • trunk/nv/types.hh

    r111 r112  
    214214                : name(name)
    215215                        , type_name()
    216                         , type_inf( &typeid( std::remove_pointer<TFIELD>::type ) )
     216                        , type_inf( &typeid( typename std::remove_pointer<TFIELD>::type ) )
    217217                        , type( nullptr )
    218218                        , flags( 0 )
Note: See TracChangeset for help on using the changeset viewer.