summaryrefslogtreecommitdiff
path: root/src/discord/snowflake.hpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2022-04-05 22:01:53 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2022-04-05 22:01:53 -0400
commit49685c39895af67d7ffcc50fdc02150b6ee44f72 (patch)
tree5c5c262f95a30e58582a285b467d05954ff5f35c /src/discord/snowflake.hpp
parent9767e1e7fdef9262211ec676b4f0d4c30ff10649 (diff)
downloadabaddon-portaudio-49685c39895af67d7ffcc50fdc02150b6ee44f72.tar.gz
abaddon-portaudio-49685c39895af67d7ffcc50fdc02150b6ee44f72.zip
fix up a bunch of clang-tidy stuff
mostly changing references, which i hope doesnt break stuff with models (TreeRow, iterators) since they gave me some strange problems in the past
Diffstat (limited to 'src/discord/snowflake.hpp')
-rw-r--r--src/discord/snowflake.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/discord/snowflake.hpp b/src/discord/snowflake.hpp
index e83317a..a5c0e6c 100644
--- a/src/discord/snowflake.hpp
+++ b/src/discord/snowflake.hpp
@@ -12,8 +12,8 @@ struct Snowflake {
static Snowflake FromNow(); // not thread safe
static Snowflake FromISO8601(std::string_view ts);
- bool IsValid() const;
- Glib::ustring GetLocalTimestamp() const;
+ [[nodiscard]] bool IsValid() const;
+ [[nodiscard]] Glib::ustring GetLocalTimestamp() const;
bool operator==(const Snowflake &s) const noexcept {
return m_num == s.m_num;