From bdd328ac91016d03ea9e86ceb2b68a2537469a7b Mon Sep 17 00:00:00 2001 From: tastytea Date: Thu, 16 Jan 2020 18:19:47 +0100 Subject: Remove useless const. --- include/helpers.hpp | 2 +- src/helpers.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/helpers.hpp b/include/helpers.hpp index 815693f..85b4742 100644 --- a/include/helpers.hpp +++ b/include/helpers.hpp @@ -40,7 +40,7 @@ using std::string; * * @since 0.4.0 */ -const string unescape_html(string html); +string unescape_html(string html); } // namespace mastodonpp diff --git a/src/helpers.cpp b/src/helpers.cpp index 70fdf7d..1add56d 100644 --- a/src/helpers.cpp +++ b/src/helpers.cpp @@ -37,7 +37,7 @@ using std::string_view; using std::move; using std::pair; -const string unescape_html(string html) +string unescape_html(string html) { string buffer{move(html)}; string output; -- cgit v1.2.3-54-g00ecf