Move inline keyword to function definition.
This commit is contained in:
@@ -58,7 +58,7 @@ Entry::~Entry()
|
||||
qDeleteAll(m_history);
|
||||
}
|
||||
|
||||
template <class T> bool Entry::set(T& property, const T& value)
|
||||
template <class T> inline bool Entry::set(T& property, const T& value)
|
||||
{
|
||||
if (property != value) {
|
||||
property = value;
|
||||
|
||||
@@ -142,7 +142,7 @@ private Q_SLOTS:
|
||||
|
||||
private:
|
||||
const Database* database() const;
|
||||
template <class T> inline bool set(T& property, const T& value);
|
||||
template <class T> bool set(T& property, const T& value);
|
||||
|
||||
Uuid m_uuid;
|
||||
EntryData m_data;
|
||||
|
||||
@@ -71,7 +71,7 @@ Group* Group::createRecycleBin()
|
||||
return recycleBin;
|
||||
}
|
||||
|
||||
template <class P, class V> bool Group::set(P& property, const V& value) {
|
||||
template <class P, class V> inline bool Group::set(P& property, const V& value) {
|
||||
if (property != value) {
|
||||
property = value;
|
||||
updateTimeinfo();
|
||||
|
||||
@@ -113,7 +113,7 @@ Q_SIGNALS:
|
||||
void modified();
|
||||
|
||||
private:
|
||||
template <class P, class V> inline bool set(P& property, const V& value);
|
||||
template <class P, class V> bool set(P& property, const V& value);
|
||||
|
||||
void addEntry(Entry* entry);
|
||||
void removeEntry(Entry* entry);
|
||||
|
||||
Reference in New Issue
Block a user