summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authortastytea2020-01-06 09:11:32 +0100
committertastytea2020-01-06 09:11:32 +0100
commit6663cca653496eddb714aa0a32b134e93e74eb62 (patch)
tree32ae942273b3f6b5a946b683449c9a245abd8cb2 /include
parenta6bd0812809638b28445139e437885901b0666cf (diff)
downloadmastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.tar
mastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.tar.gz
mastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.zip
Change signature of Instance.
Diffstat (limited to 'include')
-rw-r--r--include/instance.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/instance.hpp b/include/instance.hpp
index f80e201..17425cd 100644
--- a/include/instance.hpp
+++ b/include/instance.hpp
@@ -50,7 +50,8 @@ public:
*
* @since 0.1.0
*/
- explicit Instance(string hostname, string access_token);
+ explicit Instance(const string_view &hostname,
+ const string_view &access_token);
/*!
* @brief Returns the hostname.