summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-16 18:19:47 +0100
committertastytea2020-01-16 18:19:47 +0100
commitbdd328ac91016d03ea9e86ceb2b68a2537469a7b (patch)
tree51ecc35adf865da6ee8a1466ec75c5e3f0f80874
parent5e612210ef4960bcfc5c9cf6bc3cea43c19e054c (diff)
downloadmastodonpp-bdd328ac91016d03ea9e86ceb2b68a2537469a7b.tar
mastodonpp-bdd328ac91016d03ea9e86ceb2b68a2537469a7b.tar.gz
mastodonpp-bdd328ac91016d03ea9e86ceb2b68a2537469a7b.zip
Remove useless const.
-rw-r--r--include/helpers.hpp2
-rw-r--r--src/helpers.cpp2
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;