Fix bug in C++ wrapper

No match.