From c7dbbb814651794da7832866a1b39b6319bc9a32 Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Wed, 15 Sep 2021 10:22:18 +0300 Subject: [PATCH] GCC warning. --- src/libs/ifc/xml/vabstractconverter.cpp | 2 +- src/libs/ifc/xml/vabstractconverter.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libs/ifc/xml/vabstractconverter.cpp b/src/libs/ifc/xml/vabstractconverter.cpp index 5524015b5..2ff316e70 100644 --- a/src/libs/ifc/xml/vabstractconverter.cpp +++ b/src/libs/ifc/xml/vabstractconverter.cpp @@ -147,7 +147,7 @@ QString VAbstractConverter::Convert() } //--------------------------------------------------------------------------------------------------------------------- -int VAbstractConverter::GetCurrentFormatVersion() const +auto VAbstractConverter::GetCurrentFormatVersion() const -> unsigned { return m_ver; } diff --git a/src/libs/ifc/xml/vabstractconverter.h b/src/libs/ifc/xml/vabstractconverter.h index bd6e25591..804b9ec2f 100644 --- a/src/libs/ifc/xml/vabstractconverter.h +++ b/src/libs/ifc/xml/vabstractconverter.h @@ -51,7 +51,7 @@ public: QString Convert(); - int GetCurrentFormatVersion() const; + unsigned GetCurrentFormatVersion() const; protected: unsigned m_ver;