aboutsummaryrefslogtreecommitdiffstats
path: root/include/qpdf/QPDFSystemError.hh
diff options
context:
space:
mode:
Diffstat (limited to 'include/qpdf/QPDFSystemError.hh')
-rw-r--r--include/qpdf/QPDFSystemError.hh11
1 files changed, 5 insertions, 6 deletions
diff --git a/include/qpdf/QPDFSystemError.hh b/include/qpdf/QPDFSystemError.hh
index 92c88329..b8595e09 100644
--- a/include/qpdf/QPDFSystemError.hh
+++ b/include/qpdf/QPDFSystemError.hh
@@ -22,19 +22,18 @@
#ifndef QPDFSYSTEMERROR_HH
#define QPDFSYSTEMERROR_HH
+#include <qpdf/Constants.h>
#include <qpdf/DLL.h>
#include <qpdf/Types.h>
-#include <qpdf/Constants.h>
-#include <string>
#include <stdexcept>
+#include <string>
class QPDF_DLL_CLASS QPDFSystemError: public std::runtime_error
{
public:
QPDF_DLL
- QPDFSystemError(std::string const& description,
- int system_errno);
+ QPDFSystemError(std::string const& description, int system_errno);
QPDF_DLL
virtual ~QPDFSystemError() noexcept;
@@ -48,8 +47,8 @@ class QPDF_DLL_CLASS QPDFSystemError: public std::runtime_error
int getErrno() const;
private:
- static std::string createWhat(std::string const& description,
- int system_errno);
+ static std::string
+ createWhat(std::string const& description, int system_errno);
// This class does not use the Members pattern to avoid needless
// memory allocations during exception handling.