mirror of
https://github.com/kovidgoyal/calibre.git
synced 2026-05-30 02:32:33 -04:00
Dont use auto in master since it is still built with ancient compilers on linux
This commit is contained in:
@@ -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());
|
||||
|
||||
Reference in New Issue
Block a user