From 49685c39895af67d7ffcc50fdc02150b6ee44f72 Mon Sep 17 00:00:00 2001 From: ouwou <26526779+ouwou@users.noreply.github.com> Date: Tue, 5 Apr 2022 22:01:53 -0400 Subject: 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 --- src/windows/mainwindow.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/windows/mainwindow.hpp') diff --git a/src/windows/mainwindow.hpp b/src/windows/mainwindow.hpp index 7afe782..5e48f8a 100644 --- a/src/windows/mainwindow.hpp +++ b/src/windows/mainwindow.hpp @@ -19,7 +19,7 @@ public: void UpdateChatMessageDeleted(Snowflake id, Snowflake channel_id); void UpdateChatMessageUpdated(Snowflake id, Snowflake channel_id); void UpdateChatPrependHistory(const std::vector &msgs); - void InsertChatInput(std::string text); + void InsertChatInput(const std::string &text); Snowflake GetChatOldestListedMessage(); void UpdateChatReactionAdd(Snowflake id, const Glib::ustring ¶m); void UpdateChatReactionRemove(Snowflake id, const Glib::ustring ¶m); -- cgit v1.2.3