From 3fb62e8c6342fb98c81707ff8f5f44902866748e Mon Sep 17 00:00:00 2001 From: asynts Date: Fri, 7 Aug 2020 10:29:37 +0200 Subject: [PATCH] AK: Remove unnecessary clang-format off comments. --- AK/Concepts.h | 4 ---- AK/Stream.h | 4 ---- 2 files changed, 8 deletions(-) diff --git a/AK/Concepts.h b/AK/Concepts.h index 4a2b594240..cb78982f0c 100644 --- a/AK/Concepts.h +++ b/AK/Concepts.h @@ -30,14 +30,10 @@ namespace AK::Concepts { -// clang-format off - template concept Integral = IsIntegral::value; template concept FloatingPoint = IsFloatingPoint::value; -// clang-format on - } diff --git a/AK/Stream.h b/AK/Stream.h index 1c20891286..b946e90d05 100644 --- a/AK/Stream.h +++ b/AK/Stream.h @@ -62,8 +62,6 @@ public: virtual bool discard_or_error(size_t count) = 0; }; -// clang-format off - template 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) });