remove nodiscard for macos

This commit is contained in:
Vogel, Rick 2023-03-16 13:24:51 +01:00
parent f36296111d
commit 8e84741762
1 changed files with 2 additions and 2 deletions

View File

@ -239,7 +239,7 @@ namespace QskRgb
namespace QskRgb
{
// Converts a HTML #RRGGBB[AA] color hex string to Qt's RGB 0xAARRGGBB integer
QSK_EXPORT Q_REQUIRED_RESULT constexpr QRgb fromHexString(
QSK_EXPORT constexpr QRgb fromHexString(
const char* const str, const size_t len ) noexcept
{
constexpr auto rgb_len = 7;
@ -354,7 +354,7 @@ namespace QskRgb
namespace literals
{
Q_REQUIRED_RESULT constexpr QRgb operator""_rgba(
QSK_EXPORT constexpr QRgb operator""_rgba(
const char* const str, const size_t len ) noexcept
{
return fromHexString( str, len );