summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortastytea2020-01-14 23:32:04 +0100
committertastytea2020-01-14 23:32:04 +0100
commit9ccd724693b81c5fba44d1b4307df8e00b6e67b1 (patch)
treecd819c8bed4e35ecfc431809d010ac44b05c2cf7
parentbe42f306318f1f9bd67ac84e63bb393cd6dc3f4c (diff)
downloadmastodonpp-9ccd724693b81c5fba44d1b4307df8e00b6e67b1.tar
mastodonpp-9ccd724693b81c5fba44d1b4307df8e00b6e67b1.tar.gz
mastodonpp-9ccd724693b81c5fba44d1b4307df8e00b6e67b1.zip
Mark parse_pagination() nodiscard.
-rw-r--r--include/types.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/types.hpp b/include/types.hpp
index bfd5e42..46d3788 100644
--- a/include/types.hpp
+++ b/include/types.hpp
@@ -189,6 +189,7 @@ private:
*
* @since 0.3.0
*/
+ [[nodiscard]]
parametermap parse_pagination(bool next) const;
};