Changeset 1138 for branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/Base/OSGChildPointerSField.inl
- Timestamp:
- 04/07/08 02:50:33 (8 months ago)
- Files:
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
branches/Carsten_PtrWork2/Source/System/FieldContainer/Fields/Base/OSGChildPointerSField.inl
r1072 r1138 54 54 ChildSFieldReferenceProxy<ObjectTypeT>::operator value_type(void) const 55 55 { 56 return detail::void_cast<value_type>(AccessHandler::validate(*_pValue));56 return AccessHandler::validate(*_pValue); 57 57 } 58 58 … … 61 61 ChildSFieldReferenceProxy<ObjectTypeT>::operator->(void) const 62 62 { 63 return detail::void_cast<value_type>(AccessHandler::validate(*_pValue));63 return AccessHandler::validate(*_pValue); 64 64 } 65 65 … … 68 68 ChildSFieldReferenceProxy<ObjectTypeT>::operator=(value_type newValue) 69 69 { 70 AccessHandler::onReplace( 71 _pField, *_pValue, detail::void_cast<StoredType>(newValue)); 70 AccessHandler::onReplace(_pField, *_pValue, newValue); 72 71 73 *_pValue = detail::void_cast<StoredType>(newValue);72 *_pValue = newValue; 74 73 } 75 74 … … 156 155 NamespaceI >::setValue(ValueType value) 157 156 { 158 this->ptrStoreSet( detail::void_cast<StoredType>(value));157 this->ptrStoreSet(value); 159 158 } 160 159 … … 164 163 NamespaceI >::setValue(Self const &source) 165 164 { 166 this->ptrStoreSet( detail::void_cast<StoredType>(source.ptrStoreGet()));165 this->ptrStoreSet(source.ptrStoreGet()); 167 166 } 168 167
