Skip to content

Commit

Permalink
style: pre-commit fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
pre-commit-ci[bot] authored and vfdev-5 committed Oct 24, 2024
1 parent 6ab21db commit adbbbba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/pybind11_tests.h
Original file line number Diff line number Diff line change
Expand Up @@ -113,6 +113,6 @@ class TestContext {
const pybind11::object & /*excTb*/) {}

private:
TestContext(std::string context) : context(context) {}
explicit TestContext(const std::string &context) : context(context) {}
std::string context;
};
};

0 comments on commit adbbbba

Please sign in to comment.