marked operators bool and uint8_t of return_base const.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
tastytea 2019-07-22 22:09:50 +02:00
parent 581e4a96bb
commit 919f67b123
Signed by: tastytea
GPG Key ID: CFC39497F1B26E07
2 changed files with 4 additions and 4 deletions

View File

@ -18,7 +18,7 @@
namespace Mastodon namespace Mastodon
{ {
return_base::operator bool() return_base::operator bool() const
{ {
if (error_code == 0) if (error_code == 0)
{ {
@ -30,7 +30,7 @@ namespace Mastodon
} }
} }
return_base::operator uint8_t() return_base::operator uint8_t() const
{ {
return error_code; return error_code;
} }

View File

@ -59,14 +59,14 @@ namespace Mastodon
* *
* @since 0.100.0 * @since 0.100.0
*/ */
operator bool(); operator bool() const;
/*! /*!
* @brief Same as return_base::error_code. * @brief Same as return_base::error_code.
* *
* @since 0.100.0 * @since 0.100.0
*/ */
operator uint8_t(); operator uint8_t() const;
} return_base; } return_base;
/*! /*!