mirror of
https://github.com/pybind/pybind11.git
synced 2025-02-23 00:49:36 +00:00
Fix clang-tidy
This commit is contained in:
parent
00e48523b2
commit
648e6703dd
@ -475,7 +475,7 @@ PYBIND11_NOINLINE std::string error_string(PyObject *type, PyObject *value, PyOb
|
||||
return "Unknown internal error occurred";
|
||||
}
|
||||
|
||||
std::string result = handle(type).attr("__name__").cast<std::string>();
|
||||
auto result = handle(type).attr("__name__").cast<std::string>();
|
||||
result += ": ";
|
||||
|
||||
if (value) {
|
||||
|
Loading…
Reference in New Issue
Block a user