summaryrefslogtreecommitdiff
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index a961ac8600..bad339ffbb 100644
--- a/struct.c
+++ b/struct.c
@@ -980,7 +980,7 @@ recursive_hash(VALUE s, VALUE dummy, int recur)
static VALUE
rb_struct_hash(VALUE s)
{
- return rb_exec_recursive_outer(recursive_hash, s, 0);
+ return rb_exec_recursive_paired(recursive_hash, s, s, 0);
}
static VALUE