summaryrefslogtreecommitdiffstats
path: root/src/instance.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/instance.cpp')
-rw-r--r--src/instance.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/instance.cpp b/src/instance.cpp
index e10675f..72369e5 100644
--- a/src/instance.cpp
+++ b/src/instance.cpp
@@ -23,7 +23,7 @@ namespace mastodonpp
using std::stoull;
-Instance::Instance(const string_view &hostname, const string_view &access_token)
+Instance::Instance(const string_view hostname, const string_view access_token)
: _hostname{hostname}
, _baseuri{"https://" + _hostname}
, _access_token{access_token}