mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 03:15:34 +08:00
refs #545 Fixed mistake (method in wrong class).
This commit is contained in:
@@ -118,6 +118,9 @@ namespace BlackMisc
|
|||||||
|
|
||||||
//! Return the file that is used for persistence for this value.
|
//! Return the file that is used for persistence for this value.
|
||||||
QString getFilename() const { return CDataCache::filenameForKey(this->getKey()); }
|
QString getFilename() const { return CDataCache::filenameForKey(this->getKey()); }
|
||||||
|
|
||||||
|
//! Data cache doesn't support setAndSave (because set() already causes save anyway).
|
||||||
|
CStatusMessage setAndSave(const typename Trait::type &value) = delete;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
@@ -148,9 +151,6 @@ namespace BlackMisc
|
|||||||
|
|
||||||
//! Deleted copy assignment operator.
|
//! Deleted copy assignment operator.
|
||||||
CDataTrait &operator =(const CDataTrait &) = delete;
|
CDataTrait &operator =(const CDataTrait &) = delete;
|
||||||
|
|
||||||
//! Data cache doesn't support setAndSave (because set() already causes save anyway).
|
|
||||||
CStatusMessage setAndSave(const T &value) = delete;
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user