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 {
// clang-format off
template<typename T>
concept Integral = IsIntegral<T>::value;
template<typename T>
concept FloatingPoint = IsFloatingPoint<T>::value;
// clang-format on
}

View file

@ -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) });