marked operators bool and uint8_t of return_base const.
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
581e4a96bb
commit
919f67b123
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
|
@ -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;
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
|
Reference in New Issue