Silence tidy

This commit is contained in:
Raúl Marín 2024-02-02 16:28:09 +01:00
parent 333c45634f
commit b609fc157f
3 changed files with 3 additions and 3 deletions

View File

@ -2,7 +2,7 @@
namespace std
{
std::string to_string(Int8 v)
std::string to_string(Int8 v) /// NOLINT (cert-dcl58-cpp)
{
return to_string(int8_t{v});
}

View File

@ -13,5 +13,5 @@ struct fmt::formatter<Int8> : fmt::formatter<int8_t>
namespace std
{
std::string to_string(Int8 v);
std::string to_string(Int8 v); /// NOLINT (cert-dcl58-cpp)
}

View File

@ -16,7 +16,7 @@ using Int8 = signed _BitInt(8);
namespace std
{
template <>
struct hash<Int8>
struct hash<Int8> /// NOLINT (cert-dcl58-cpp)
{
size_t operator()(const Int8 x) const { return std::hash<int8_t>()(int8_t{x}); }
};