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:
Ivan Donchevskii
2017-07-03 12:02:26 +02:00
parent 23cae9a9e0
commit 277b331389
2 changed files with 3 additions and 1 deletions

View File

@@ -395,6 +395,8 @@ FileSaverBase::FileSaverBase()
{
}
FileSaverBase::~FileSaverBase() = default;
bool FileSaverBase::finalize()
{
m_file->close();

View File

@@ -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; }