1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 00:47:45 +00:00

AK: Remove unnecessary clang-format off comments.

This commit is contained in:
asynts 2020-08-07 10:29:37 +02:00 committed by Andreas Kling
parent 5ba2022b8e
commit 3fb62e8c63
2 changed files with 0 additions and 8 deletions

View file

@ -30,14 +30,10 @@
namespace AK::Concepts { namespace AK::Concepts {
// clang-format off
template<typename T> template<typename T>
concept Integral = IsIntegral<T>::value; concept Integral = IsIntegral<T>::value;
template<typename T> template<typename T>
concept FloatingPoint = IsFloatingPoint<T>::value; concept FloatingPoint = IsFloatingPoint<T>::value;
// clang-format on
} }

View file

@ -62,8 +62,6 @@ public:
virtual bool discard_or_error(size_t count) = 0; virtual bool discard_or_error(size_t count) = 0;
}; };
// clang-format off
template<Concepts::Integral Integral> template<Concepts::Integral Integral>
InputStream& operator>>(InputStream& stream, Integral& value) InputStream& operator>>(InputStream& stream, Integral& value)
{ {
@ -80,8 +78,6 @@ InputStream& operator>>(InputStream& stream, FloatingPoint& value)
} }
#endif #endif
// clang-format on
inline InputStream& operator>>(InputStream& stream, bool& value) inline InputStream& operator>>(InputStream& stream, bool& value)
{ {
stream.read_or_error({ &value, sizeof(value) }); stream.read_or_error({ &value, sizeof(value) });