aboutsummaryrefslogtreecommitdiffstats
path: root/sources/shiboken6/ApiExtractor/fileout.h
diff options
context:
space:
mode:
Diffstat (limited to 'sources/shiboken6/ApiExtractor/fileout.h')
-rw-r--r--sources/shiboken6/ApiExtractor/fileout.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/sources/shiboken6/ApiExtractor/fileout.h b/sources/shiboken6/ApiExtractor/fileout.h
index 233752227..5b5f33578 100644
--- a/sources/shiboken6/ApiExtractor/fileout.h
+++ b/sources/shiboken6/ApiExtractor/fileout.h
@@ -31,6 +31,8 @@
#include "textstream.h"
+class Exception;
+
QT_FORWARD_DECLARE_CLASS(QFile)
class FileOut
@@ -39,15 +41,14 @@ class FileOut
public:
Q_DISABLE_COPY(FileOut)
- enum State { Failure, Unchanged, Success };
+ enum State { Unchanged, Success };
explicit FileOut(QString name);
~FileOut();
QString filePath() const { return m_name; }
- State done();
- State done(QString *errorMessage);
+ State done() noexcept(false);
TextStream stream;