From 58aebfc4c0bf6c8b5027d2e2628523c7eb7cb9e3 Mon Sep 17 00:00:00 2001 From: tastytea Date: Mon, 3 Feb 2020 13:06:01 +0100 Subject: [PATCH] Mark unescape_html() nodiscard. --- include/helpers.hpp | 1 + 1 file changed, 1 insertion(+) diff --git a/include/helpers.hpp b/include/helpers.hpp index fb90805..898b66f 100644 --- a/include/helpers.hpp +++ b/include/helpers.hpp @@ -42,6 +42,7 @@ using std::string; * * @since 0.4.0 */ +[[nodiscard]] string unescape_html(string html); } // namespace mastodonpp