Skip to content

Commit adbbbba

Browse files
pre-commit-ci[bot]vfdev-5
authored andcommitted
style: pre-commit fixes
1 parent 6ab21db commit adbbbba

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/pybind11_tests.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,6 @@ class TestContext {
113113
const pybind11::object & /*excTb*/) {}
114114

115115
private:
116-
TestContext(std::string context) : context(context) {}
116+
explicit TestContext(const std::string &context) : context(context) {}
117117
std::string context;
118-
};
118+
};

0 commit comments

Comments
 (0)