Skip to content

Commit

Permalink
Fix error with function qualification. Refs #4399.
Browse files Browse the repository at this point in the history
MSVC manages to pick the correct overload, however gcc needs some help.
  • Loading branch information
martyngigg committed Apr 25, 2012
1 parent 5caab86 commit b924b1e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ void export_CompositeValidator()
(arg("validators"))
))

.def("add", &CompositeValidator::add, "Add another validator to the list")
.def("add", (void (CompositeValidator::*)(IValidator_sptr))&CompositeValidator::add, "Add another validator to the list")
;
}

0 comments on commit b924b1e

Please sign in to comment.