Show
Ignore:
Timestamp:
05/18/10 20:51:13 (14 years ago)
Author:
mido
Message:

another patch of log_levels in user_info.h where a small piece of code was forgotten in the previous facelift of UI
also, DS adjusted to a new UI::GET policy concerning RVs


Files:
1 modified

Legend:

Unmodified
Added
Removed
  • library/bdm/base/bdmbase.cpp

    r927 r949  
    538538 
    539539void DS::from_setting ( const Setting &set ) { 
    540         shared_ptr<RV> r = UI::build<RV> ( set, "drv", UI::optional ); 
    541         if ( r )         
    542                 set_drv ( *r, RV() ); 
     540        RV rv; 
     541        if( UI::get( rv, set, "drv", UI::optional ) ) 
     542                set_drv ( rv, RV() ); 
    543543} 
    544544