Skip to content

Commit 8d42f06

Browse files
authored
Merge pull request TNG#18 from reissGRVS/master
Fixed function reference in 12-Exceptions
2 parents 8faa1e9 + 21c9b41 commit 8d42f06

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

12-Exceptions/myexceptions.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,5 +17,5 @@ BOOST_PYTHON_MODULE(myexceptions)
1717
{
1818
register_exception_translator<OutOfSteakException>(translateException);
1919

20-
def("someFunction", someFunction);
20+
def("someFunction", &someFunction);
2121
}

0 commit comments

Comments
 (0)