forked from qt-creator/qt-creator
Fix build
Move constructor definition to .cpp file to avoid it being inlined Change-Id: I1c55095e5158740526af9e698c978abf33304e52 Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
@@ -395,6 +395,8 @@ FileSaverBase::FileSaverBase()
|
||||
{
|
||||
}
|
||||
|
||||
FileSaverBase::~FileSaverBase() = default;
|
||||
|
||||
bool FileSaverBase::finalize()
|
||||
{
|
||||
m_file->close();
|
||||
|
@@ -175,7 +175,7 @@ class QTCREATOR_UTILS_EXPORT FileSaverBase
|
||||
Q_DECLARE_TR_FUNCTIONS(Utils::FileUtils) // sic!
|
||||
public:
|
||||
FileSaverBase();
|
||||
virtual ~FileSaverBase() = default;
|
||||
virtual ~FileSaverBase();
|
||||
|
||||
QString fileName() const { return m_fileName; }
|
||||
bool hasError() const { return m_hasError; }
|
||||
|
Reference in New Issue
Block a user