diff options
Diffstat (limited to 'ext/pybind11/tests/test_issues.cpp')
-rw-r--r-- | ext/pybind11/tests/test_issues.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/ext/pybind11/tests/test_issues.cpp b/ext/pybind11/tests/test_issues.cpp index 4c59a1b12..7da370045 100644 --- a/ext/pybind11/tests/test_issues.cpp +++ b/ext/pybind11/tests/test_issues.cpp @@ -74,7 +74,6 @@ namespace std { template <> struct hash<TplConstrClass> { size_t operator()(const TplConstrClass &t) const { return std::hash<std::string>()(t.str); } }; } - void init_issues(py::module &m) { py::module m2 = m.def_submodule("issues"); @@ -397,5 +396,5 @@ void init_issues(py::module &m) { #endif } -// MSVC workaround: trying to use a lambda here crashes MSCV +// MSVC workaround: trying to use a lambda here crashes MSVC test_initializer issues(&init_issues); |