- Timestamp:
- 08/20/08 17:30:02 (16 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
tests/testUI.cpp
r146 r149 21 21 }; 22 22 23 const TypedUserInfo<int> & IntUI::instance =IntUI();23 const TypedUserInfo<int>* IntUI::pInstance = new IntUI(); 24 24 25 25 … … 42 42 }; 43 43 44 const TypedUserInfo<string> & StringUI::instance = StringUI();44 const TypedUserInfo<string>* StringUI::pInstance = new StringUI(); 45 45 46 46 class Car … … 83 83 }; 84 84 85 const TypedUserInfo<Car> & CarUI::instance =CarUI( );85 const TypedUserInfo<Car>* CarUI::pInstance = new CarUI( ); 86 86 87 87