Changeset 793
- Timestamp:
- 01/21/10 23:21:46 (15 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
library/bdm/base/user_info.h
r789 r793 543 543 //! A root descendant instance is stored in the new child Setting appended to the passed element 544 544 template< class T> static void save ( const T * const instance, Setting &element, const string &name = "" ) { 545 Setting &set = ( name == "" ) ? (element.getType()==Setting::TypeArray ) ? element.add ( Setting::TypeGroup ) : element545 Setting &set = ( name == "" ) ? (element.getType()==Setting::TypeArray || element.getType()==Setting::TypeList) ? element.add ( Setting::TypeGroup ) : element 546 546 : element.add ( name, Setting::TypeGroup ); 547 547