mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Dont use auto in master since it is still built with ancient compilers on linux
This commit is contained in:
parent
b8b5c4e14e
commit
6eeb85ebe6
@ -15,7 +15,7 @@ pdf::podofo_set_exception(const PdfError &err) {
|
||||
if (msg == NULL) msg = err.what();
|
||||
std::stringstream stream;
|
||||
stream << msg << "\n";
|
||||
for (auto &info : err.GetCallstack()) {
|
||||
for (const PdfErrorInfo &info : err.GetCallstack()) {
|
||||
stream << "File: " << info.GetFilename() << "Line: " << info.GetLine() << " " << info.GetInformation() << "\n";
|
||||
}
|
||||
PyErr_SetString(Error, stream.str().c_str());
|
||||
|
Loading…
x
Reference in New Issue
Block a user