mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-04-21 20:15:17 +00:00
AK: Remove unnecessary clang-format off comments.
This commit is contained in:
parent
5ba2022b8e
commit
3fb62e8c63
Notes:
sideshowbarker
2024-07-19 04:10:14 +09:00
Author: https://github.com/asynts Commit: https://github.com/SerenityOS/serenity/commit/3fb62e8c634 Pull-request: https://github.com/SerenityOS/serenity/pull/3038
2 changed files with 0 additions and 8 deletions
|
@ -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…
Add table
Reference in a new issue