diff options
-rw-r--r-- | include/instance.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/instance.hpp b/include/instance.hpp index 009c308..5b578fa 100644 --- a/include/instance.hpp +++ b/include/instance.hpp @@ -213,8 +213,8 @@ public: * * Example: * @code - * mastodonpp::Instance instance("example.com", {}); - * mastodonpp::Instance::ObtainToken token(instance); + * mastodonpp::Instance instance{"example.com", {}}; + * mastodonpp::Instance::ObtainToken token{instance}; * auto answer{token.step1("Good program", "read:blocks read:mutes", "")}; * if (answer) * { |