Changeset 149 for tests

Show
Ignore:
Timestamp:
08/20/08 17:30:02 (16 years ago)
Author:
mido
Message:

patch UI

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • tests/testUI.cpp

    r146 r149  
    2121}; 
    2222 
    23 const TypedUserInfo<int>& IntUI::instance = IntUI(); 
     23const TypedUserInfo<int>* IntUI::pInstance = new IntUI(); 
    2424 
    2525 
     
    4242}; 
    4343 
    44 const TypedUserInfo<string>& StringUI::instance = StringUI( ); 
     44const TypedUserInfo<string>* StringUI::pInstance = new StringUI(); 
    4545 
    4646class Car 
     
    8383}; 
    8484 
    85 const TypedUserInfo<Car>& CarUI::instance = CarUI( ); 
     85const TypedUserInfo<Car>* CarUI::pInstance = new CarUI( ); 
    8686 
    8787