summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-16 19:06:17 +0100
committertastytea2020-01-17 17:30:31 +0100
commit393c179c00b60eb5d4ed18cea93c26f305da9677 (patch)
tree52d58055205bbb64828ea2b4ca35ef129595b6ea
parentd8582f33c11f83adbd6a7bd55443b7a3a857c047 (diff)
downloadmastodonpp-393c179c00b60eb5d4ed18cea93c26f305da9677.tar
mastodonpp-393c179c00b60eb5d4ed18cea93c26f305da9677.tar.gz
mastodonpp-393c179c00b60eb5d4ed18cea93c26f305da9677.zip
Make main page of reference more precise.
-rw-r--r--include/mastodonpp.hpp12
1 files changed, 5 insertions, 7 deletions
diff --git a/include/mastodonpp.hpp b/include/mastodonpp.hpp
index 16a7dd5..9769a3f 100644
--- a/include/mastodonpp.hpp
+++ b/include/mastodonpp.hpp
@@ -57,7 +57,7 @@
*
* int main()
* {
- * mastodonpp::Instance instance{"example.com", ""};
+ * mastodonpp::Instance instance{"example.com", {}};
* std::cout << "Maximum characters per post: "
* << instance.get_max_chars() << std::endl;
*
@@ -85,12 +85,10 @@
*
* @section thread_safety Thread safety
*
- * The first time you construct an @link mastodonpp::Instance Instance @endlink
- * or @link mastodonpp::Connection Connection @endlink, [curl_global_init(3)]
- * (https://curl.haxx.se/libcurl/c/curl_global_init.html) is called. When the
- * last @link mastodonpp::Instance Instance @endlink or @link
- * mastodonpp::Connection Connection @endlink is destroyed,
- * [curl_global_cleanup(3)]
+ * The first time you construct an @link mastodonpp::Instance Instance@endlink,
+ * [curl_global_init(3)](https://curl.haxx.se/libcurl/c/curl_global_init.html)
+ * is called. When the last @link mastodonpp::Instance Instance @endlink is
+ * destroyed, [curl_global_cleanup(3)]
* (https://curl.haxx.se/libcurl/c/curl_global_cleanup.html) is called. Both
* are not thread safe.
*