summaryrefslogtreecommitdiff
path: root/src/sim/vptr.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/vptr.hh')
-rw-r--r--src/sim/vptr.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sim/vptr.hh b/src/sim/vptr.hh
index eee575b6b..658959a90 100644
--- a/src/sim/vptr.hh
+++ b/src/sim/vptr.hh
@@ -71,8 +71,8 @@ class VPtr
if (!ptr)
return;
- FSTranslatingPortProxy* proxy = tc->getVirtProxy();
- proxy->readBlob(ptr, buffer, sizeof(T));
+ FSTranslatingPortProxy &proxy = tc->getVirtProxy();
+ proxy.readBlob(ptr, buffer, sizeof(T));
}
bool