summaryrefslogtreecommitdiff
path: root/discord
diff options
context:
space:
mode:
Diffstat (limited to 'discord')
-rw-r--r--discord/objects.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/discord/objects.hpp b/discord/objects.hpp
index 4974131..179cfbf 100644
--- a/discord/objects.hpp
+++ b/discord/objects.hpp
@@ -464,7 +464,7 @@ struct UserNoteObject {
struct UserSetNoteObject {
std::string Note;
- friend void to_json(nlohmann::json &j, UserSetNoteObject &m);
+ friend void to_json(nlohmann::json &j, const UserSetNoteObject &m);
};
struct UserNoteUpdateMessage {