diff options
author | tastytea | 2020-01-06 09:11:32 +0100 |
---|---|---|
committer | tastytea | 2020-01-06 09:11:32 +0100 |
commit | 6663cca653496eddb714aa0a32b134e93e74eb62 (patch) | |
tree | 32ae942273b3f6b5a946b683449c9a245abd8cb2 /include | |
parent | a6bd0812809638b28445139e437885901b0666cf (diff) | |
download | mastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.tar mastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.tar.gz mastodonpp-6663cca653496eddb714aa0a32b134e93e74eb62.zip |
Change signature of Instance.
Diffstat (limited to 'include')
-rw-r--r-- | include/instance.hpp | 3 |
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. |