Changeset 61
- Timestamp:
- 05/30/13 16:15:09 (12 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/nv/object.hh
r57 r61 82 82 */ 83 83 template< typename T > 84 typename T* get_parent_as() const 84 //typename T* get_parent_as() const 85 T* get_parent_as() const 85 86 { 86 87 if ( !m_parent ) … … 88 89 return nullptr; 89 90 } 90 return dynamic_cast<T>( m_parent ) 91 return dynamic_cast<T>( m_parent ); 91 92 } 92 93 -
trunk/nv/types.hh
r58 r61 361 361 } 362 362 363 #endif NV_TYPES_HH 363 #endif 364 -
trunk/tests/render_test/premake4.lua
r46 r61 1 if _ACTION == nil then 2 print "Error! You must specify target build" 3 print "Example: ./premake4 gmake" 4 print " This will create makefiles for Linux" 5 print "" 6 print "Aborting!" 7 print "" 8 return 9 end 10 1 11 solution "nv_render_test" 2 12 configurations { "debug", "release" } … … 4 14 language "C++" 5 15 flags { "ExtraWarnings", "NoPCH" } 16 17 -- For starters, check the target build. 18 -- If this is a gmake build we must add these 19 -- flags to enable C++11 support. 20 if _ACTION == "gmake" then 21 buildoptions "-std=c++11" 22 end 6 23 7 24 configuration "debug"
Note: See TracChangeset
for help on using the changeset viewer.