Changeset 49:cdd4cf3eda0c in rrlib_rtti_conversion for tConversionOperationSequence.cpp
- Timestamp:
- 08.02.2022 07:22:43 (12 months ago)
- Branch:
- 17.03
- Phase:
- public
- Tags:
- tip
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
tConversionOperationSequence.cpp
r46 r49 144 144 } 145 145 146 tCompiledConversionOperation tConversionOperationSequence::Compile(bool allow_reference_to_source, const tType& source_type, const tType& destination_type ) const146 tCompiledConversionOperation tConversionOperationSequence::Compile(bool allow_reference_to_source, const tType& source_type, const tType& destination_type, const std::type_info& destination_pointer_type) const 147 147 { 148 148 // ############ … … 406 406 result.destination_type = last_conversion->destination_type; 407 407 static_cast<tConversionOperationSequence&>(result).intermediate_type = this->intermediate_type; 408 result.destination_pointer_type = &(first_operation == &cFOR_EACH_OPERATION ? typeid(tTypedPointer) : destination_pointer_type); // Special For-Each operation works with standard typed pointers only 408 409 409 410 // Handle special case: only const offsets
Note: See TracChangeset
for help on using the changeset viewer.