mirror of
https://github.com/pybind/pybind11.git
synced 2026-03-14 20:27:47 +00:00
Adding .clang-tidy readability-braces-around-statements option.
clang-tidy automatic changes. NO manual changes.
This commit is contained in:
committed by
Ralf W. Grosse-Kunstleve
parent
8581584e60
commit
ddbc74c674
@@ -47,8 +47,9 @@ TEST_SUBMODULE(local_bindings, m) {
|
||||
auto main = py::module_::import("pybind11_tests");
|
||||
if (py::hasattr(main, "class_")) {
|
||||
bind_local<LocalExternal, 7>(m, "LocalExternal", py::module_local());
|
||||
} else {
|
||||
throw std::runtime_error("test_class not enabled");
|
||||
}
|
||||
else throw std::runtime_error("test_class not enabled");
|
||||
});
|
||||
|
||||
// test_stl_bind_local
|
||||
|
||||
Reference in New Issue
Block a user