Skip to content

Commit

Permalink
Fix typo in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
zoffixznet committed Feb 28, 2018
1 parent 4f04698 commit fc643a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/NativeCall.pm6
Expand Up @@ -273,7 +273,7 @@ our role Native[Routine $r, $libname where Str|Callable|List|IO::Path|Distributi
method !setup() {
$setup-lock.protect: {
return if $!setup;
# Make sure that C++ methotds are treated as mangled (unless set otherwise)
# Make sure that C++ methods are treated as mangled (unless set otherwise)
if self.package.REPR eq 'CPPStruct' and not self.does(NativeCallMangled) {
self does NativeCallMangled[True];
}
Expand Down

0 comments on commit fc643a2

Please sign in to comment.