Fix clang-tidy

This commit is contained in:
Aaron Gokaslan 2022-02-13 13:38:11 -05:00
parent 00e48523b2
commit 648e6703dd

View File

@ -475,7 +475,7 @@ PYBIND11_NOINLINE std::string error_string(PyObject *type, PyObject *value, PyOb
return "Unknown internal error occurred"; 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 += ": "; result += ": ";
if (value) { if (value) {