Permalink
Browse files

Fixed compilation issue in string member variables

  • Loading branch information...
1 parent bb107c9 commit 6c58ef46ff894fc7f54aed29ba10cbfc017704ff @Leont committed Jun 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 perl++/headers/interpreter.h
@@ -473,7 +473,7 @@ namespace perl {
TRY_OR_THROW(arg_stack.returns(get_magic_object<T>(arg_stack[0])->*ref));
}
else {
- TRY_OR_THROW(arg_stack.returns(get_magic_object<T>(arg_stack[0])->*ref = arg_stack[1]));
+ TRY_OR_THROW(arg_stack.returns(get_magic_object<T>(arg_stack[0])->*ref = typecast_to<A>(arg_stack[1])));
}
}
};

0 comments on commit 6c58ef4

Please sign in to comment.