summaryrefslogtreecommitdiff
path: root/src/sim/arguments.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/sim/arguments.hh')
-rw-r--r--src/sim/arguments.hh2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/arguments.hh b/src/sim/arguments.hh
index 5c7941562..f28f6635a 100644
--- a/src/sim/arguments.hh
+++ b/src/sim/arguments.hh
@@ -137,7 +137,7 @@ class Arguments
template <class T>
operator T *() {
T *buf = (T *)data->alloc(sizeof(T));
- CopyData(tc, buf, getArg(sizeof(T)), sizeof(T));
+ CopyOut(tc, buf, getArg(sizeof(T)), sizeof(T));
return buf;
}