diff options
Diffstat (limited to 'src/usr/targeting/common/target.C')
| -rw-r--r-- | src/usr/targeting/common/target.C | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/usr/targeting/common/target.C b/src/usr/targeting/common/target.C index 5209c3891..6d619a7ab 100644 --- a/src/usr/targeting/common/target.C +++ b/src/usr/targeting/common/target.C @@ -219,9 +219,11 @@ void Target::_getAttrPtr( if(TARG_ADDR_TRANSLATION_REQUIRED) { pAttrId = static_cast<ATTRIBUTE_ID*>( - TARG_GET_SINGLETON(TARGETING::theAttrRP).translateAddr(pAttrId)); + TARG_GET_SINGLETON(TARGETING::theAttrRP).translateAddr(pAttrId, + static_cast<const Target*>(this))); ppAttrAddr = static_cast<AbstractPointer<void>*>( - TARG_GET_SINGLETON(TARGETING::theAttrRP).translateAddr(ppAttrAddr)); + TARG_GET_SINGLETON(TARGETING::theAttrRP).translateAddr(ppAttrAddr, + static_cast<const Target*>(this))); } if ((pAttrId != NULL) && (ppAttrAddr != NULL)) @@ -245,7 +247,7 @@ void Target::_getAttrPtr( { l_pAttr = TARG_GET_SINGLETON(TARGETING::theAttrRP).translateAddr( - l_pAttr); + l_pAttr, static_cast<const Target*>(this)); } } } |

