Reduce usage of [[nodiscard]] attributes
Signed-off-by: TheKodeToad <TheKodeToad@proton.me>
This commit is contained in:
parent
9559204c8f
commit
29d73a474f
64 changed files with 323 additions and 326 deletions
|
@ -66,7 +66,7 @@ class MetaEntry {
|
|||
|
||||
/* Whether the entry expires after some time (false) or not (true). */
|
||||
void makeEternal(bool eternal) { m_is_eternal = eternal; }
|
||||
[[nodiscard]] bool isEternal() const { return m_is_eternal; }
|
||||
bool isEternal() const { return m_is_eternal; }
|
||||
|
||||
auto getCurrentAge() -> qint64 { return m_current_age; }
|
||||
void setCurrentAge(qint64 age) { m_current_age = age; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue