Replace 'inline constexpr' with only 'constexpr'
This commit is contained in:
parent
cdd84520da
commit
53f114b1bd
|
@ -88,7 +88,7 @@ public:
|
||||||
void setItems(const QList<ChecklistItem> &items);
|
void setItems(const QList<ChecklistItem> &items);
|
||||||
void restore(QSettings &settings, const QString &name);
|
void restore(QSettings &settings, const QString &name);
|
||||||
void save(QSettings &settings, const QString &name) const;
|
void save(QSettings &settings, const QString &name) const;
|
||||||
static inline constexpr int idRole();
|
static constexpr int idRole();
|
||||||
|
|
||||||
private:
|
private:
|
||||||
QList<ChecklistItem> m_items;
|
QList<ChecklistItem> m_items;
|
||||||
|
@ -105,7 +105,7 @@ inline const QList<ChecklistItem> &ChecklistModel::items() const
|
||||||
/*!
|
/*!
|
||||||
* \brief Returns the role used to get or set the item ID.
|
* \brief Returns the role used to get or set the item ID.
|
||||||
*/
|
*/
|
||||||
inline constexpr int ChecklistModel::idRole()
|
constexpr int ChecklistModel::idRole()
|
||||||
{
|
{
|
||||||
return Qt::UserRole + 1;
|
return Qt::UserRole + 1;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue