From 8fb2f9db7c9b04f6e4c98c990d4e95d7cd33ca96 Mon Sep 17 00:00:00 2001 From: Felix Geyer Date: Wed, 1 Aug 2012 10:40:38 +0200 Subject: [PATCH] Move inline keyword to function definition. --- src/core/Entry.cpp | 2 +- src/core/Entry.h | 2 +- src/core/Group.cpp | 2 +- src/core/Group.h | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/core/Entry.cpp b/src/core/Entry.cpp index f0f65a932..bf79a5efe 100644 --- a/src/core/Entry.cpp +++ b/src/core/Entry.cpp @@ -58,7 +58,7 @@ Entry::~Entry() qDeleteAll(m_history); } -template bool Entry::set(T& property, const T& value) +template inline bool Entry::set(T& property, const T& value) { if (property != value) { property = value; diff --git a/src/core/Entry.h b/src/core/Entry.h index 345102943..9c32ac4b5 100644 --- a/src/core/Entry.h +++ b/src/core/Entry.h @@ -142,7 +142,7 @@ private Q_SLOTS: private: const Database* database() const; - template inline bool set(T& property, const T& value); + template bool set(T& property, const T& value); Uuid m_uuid; EntryData m_data; diff --git a/src/core/Group.cpp b/src/core/Group.cpp index cde724258..f6e391859 100644 --- a/src/core/Group.cpp +++ b/src/core/Group.cpp @@ -71,7 +71,7 @@ Group* Group::createRecycleBin() return recycleBin; } -template bool Group::set(P& property, const V& value) { +template inline bool Group::set(P& property, const V& value) { if (property != value) { property = value; updateTimeinfo(); diff --git a/src/core/Group.h b/src/core/Group.h index 5ed2b2939..33c362fa8 100644 --- a/src/core/Group.h +++ b/src/core/Group.h @@ -113,7 +113,7 @@ Q_SIGNALS: void modified(); private: - template inline bool set(P& property, const V& value); + template bool set(P& property, const V& value); void addEntry(Entry* entry); void removeEntry(Entry* entry);