summaryrefslogtreecommitdiffstats
path: root/include/request.hpp
diff options
context:
space:
mode:
authortastytea2020-01-04 13:31:22 +0100
committertastytea2020-01-04 13:31:22 +0100
commit0de7345dc2397dc1ca83206a0b16799916956ae8 (patch)
treeb4fa2dffed49988548acfcd4f6a4affeb1751c38 /include/request.hpp
parent5eb11534a5edd601cbd5b89994d65c4ac0c6516f (diff)
downloadmastodonpp-0de7345dc2397dc1ca83206a0b16799916956ae8.tar
mastodonpp-0de7345dc2397dc1ca83206a0b16799916956ae8.tar.gz
mastodonpp-0de7345dc2397dc1ca83206a0b16799916956ae8.zip
Add [[nodiscard]] where desirable.
Diffstat (limited to 'include/request.hpp')
-rw-r--r--include/request.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/request.hpp b/include/request.hpp
index d41611c..dca8327 100644
--- a/include/request.hpp
+++ b/include/request.hpp
@@ -52,6 +52,7 @@ public:
*
* @since 0.1.0
*/
+ [[nodiscard]]
answer_type get(API::endpoint_type endpoint) const;
private: