Add [[nodiscard]] where desirable.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2020-01-04 13:31:22 +01:00
parent 5eb11534a5
commit 0de7345dc2
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 2 additions and 0 deletions

View File

@ -83,6 +83,7 @@ public:
*
* @since 0.1.0
*/
[[nodiscard]]
string to_string() const;
private:

View File

@ -52,6 +52,7 @@ public:
*
* @since 0.1.0
*/
[[nodiscard]]
answer_type get(API::endpoint_type endpoint) const;
private: