summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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.
*
n138'>138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198