From 1d82d965626624d26272cd10e1aeebaef083015e Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Sat, 1 Apr 2017 10:23:44 +0300 Subject: [PATCH] Refactoring. Move "inline" specifier to the definition of the function. --HG-- branch : develop --- src/libs/vmisc/backport/qmarginsf.h | 2 +- src/libs/vwidgets/vwidgetpopup.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/libs/vmisc/backport/qmarginsf.h b/src/libs/vmisc/backport/qmarginsf.h index 6ecfb5fd3..f39744800 100644 --- a/src/libs/vmisc/backport/qmarginsf.h +++ b/src/libs/vmisc/backport/qmarginsf.h @@ -71,7 +71,7 @@ public: QMarginsF &operator*=(qreal factor) Q_DECL_NOTHROW; QMarginsF &operator/=(qreal divisor); - Q_DECL_CONSTEXPR inline QMargins toMargins() const Q_DECL_NOTHROW; + Q_DECL_CONSTEXPR QMargins toMargins() const Q_DECL_NOTHROW; private: qreal m_left; diff --git a/src/libs/vwidgets/vwidgetpopup.h b/src/libs/vwidgets/vwidgetpopup.h index c12401b39..f6505c912 100644 --- a/src/libs/vwidgets/vwidgetpopup.h +++ b/src/libs/vwidgets/vwidgetpopup.h @@ -63,10 +63,10 @@ public: void SetWidget(QWidget *widget, bool own = true); /** Returns widget to be popped up. */ - inline QWidget* Widget() const; + QWidget* Widget() const; /** Returns true if widget is owned by this popup widget, false otherwise. */ - inline bool isOwned() const; + bool isOwned() const; int GetLifeTime() const; void SetLifeTime(int value);