mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2024-12-27 16:29:44 -05:00
Move inline keyword to function definition.
This commit is contained in:
parent
9c378216f6
commit
8fb2f9db7c
@ -58,7 +58,7 @@ Entry::~Entry()
|
|||||||
qDeleteAll(m_history);
|
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) {
|
if (property != value) {
|
||||||
property = value;
|
property = value;
|
||||||
|
@ -142,7 +142,7 @@ private Q_SLOTS:
|
|||||||
|
|
||||||
private:
|
private:
|
||||||
const Database* database() const;
|
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;
|
Uuid m_uuid;
|
||||||
EntryData m_data;
|
EntryData m_data;
|
||||||
|
@ -71,7 +71,7 @@ Group* Group::createRecycleBin()
|
|||||||
return recycleBin;
|
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) {
|
if (property != value) {
|
||||||
property = value;
|
property = value;
|
||||||
updateTimeinfo();
|
updateTimeinfo();
|
||||||
|
@ -113,7 +113,7 @@ Q_SIGNALS:
|
|||||||
void modified();
|
void modified();
|
||||||
|
|
||||||
private:
|
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 addEntry(Entry* entry);
|
||||||
void removeEntry(Entry* entry);
|
void removeEntry(Entry* entry);
|
||||||
|
Loading…
Reference in New Issue
Block a user