summaryrefslogtreecommitdiff
path: root/src/map/script-call-internal.tcc
diff options
context:
space:
mode:
Diffstat (limited to 'src/map/script-call-internal.tcc')
-rw-r--r--src/map/script-call-internal.tcc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/script-call-internal.tcc b/src/map/script-call-internal.tcc
index cc5c2a4..d77d491 100644
--- a/src/map/script-call-internal.tcc
+++ b/src/map/script-call-internal.tcc
@@ -57,7 +57,7 @@ void push_reg(struct script_stack *stack, SIR reg)
}
template<class T>
-void push_script(struct script_stack *stack, const ScriptBuffer *code)
+void push_script(struct script_stack *stack, Borrowed<const ScriptBuffer> code)
{
static_assert(first_type_is_any<T, ScriptDataRetInfo>(), "not scriptbuf type");