mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-22 02:26:11 +00:00
AK: Remove unnecessary clang-format off comments.
This commit is contained in:
parent
5ba2022b8e
commit
3fb62e8c63
|
@ -30,14 +30,10 @@
|
|||
|
||||
namespace AK::Concepts {
|
||||
|
||||
// clang-format off
|
||||
|
||||
template<typename T>
|
||||
concept Integral = IsIntegral<T>::value;
|
||||
|
||||
template<typename T>
|
||||
concept FloatingPoint = IsFloatingPoint<T>::value;
|
||||
|
||||
// clang-format on
|
||||
|
||||
}
|
||||
|
|
|
@ -62,8 +62,6 @@ public:
|
|||
virtual bool discard_or_error(size_t count) = 0;
|
||||
};
|
||||
|
||||
// clang-format off
|
||||
|
||||
template<Concepts::Integral Integral>
|
||||
InputStream& operator>>(InputStream& stream, Integral& value)
|
||||
{
|
||||
|
@ -80,8 +78,6 @@ InputStream& operator>>(InputStream& stream, FloatingPoint& value)
|
|||
}
|
||||
#endif
|
||||
|
||||
// clang-format on
|
||||
|
||||
inline InputStream& operator>>(InputStream& stream, bool& value)
|
||||
{
|
||||
stream.read_or_error({ &value, sizeof(value) });
|
||||
|
|
Loading…
Reference in a new issue