Commit 277b3313 authored by Ivan Donchevskii's avatar Ivan Donchevskii

Fix build

Move constructor definition to .cpp file to
avoid it being inlined

Change-Id: I1c55095e5158740526af9e698c978abf33304e52
Reviewed-by: default avatarhjk <hjk@qt.io>
parent 23cae9a9
......@@ -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; }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment