Skip to content

Commit

Permalink
Fixed compilation issue in string member variables
Browse files Browse the repository at this point in the history
  • Loading branch information
Leont committed Jun 14, 2011
1 parent bb107c9 commit 6c58ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion perl++/headers/interpreter.h
Expand Up @@ -473,7 +473,7 @@ namespace perl {
TRY_OR_THROW(arg_stack.returns(get_magic_object<T>(arg_stack[0])->*ref)); TRY_OR_THROW(arg_stack.returns(get_magic_object<T>(arg_stack[0])->*ref));
} }
else { 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])));
} }
} }
}; };
Expand Down

0 comments on commit 6c58ef4

Please sign in to comment.