mirror of
https://github.com/qpdf/qpdf.git
synced 2024-06-10 14:12:26 +00:00
Tidy QPDF.cc - make InvalidInputSource::throwException static
This commit is contained in:
parent
6d95c83a45
commit
e391c411e2
|
@ -97,13 +97,12 @@ namespace
|
|||
}
|
||||
|
||||
private:
|
||||
void
|
||||
static void
|
||||
throwException()
|
||||
{
|
||||
throw std::logic_error("QPDF operation attempted on a QPDF object with no input "
|
||||
"source."
|
||||
" QPDF operations are invalid before processFile (or another"
|
||||
" process method) or after closeInputSource");
|
||||
"source. QPDF operations are invalid before processFile (or "
|
||||
"another process method) or after closeInputSource");
|
||||
}
|
||||
};
|
||||
} // namespace
|
||||
|
|
Loading…
Reference in New Issue
Block a user