mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-21 15:12:02 +00:00
Silence tidy
This commit is contained in:
parent
333c45634f
commit
b609fc157f
@ -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});
|
||||
}
|
||||
|
@ -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)
|
||||
}
|
||||
|
@ -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}); }
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user