From c6ca8534a66018eac9d0b3470f0b0a9691256879 Mon Sep 17 00:00:00 2001 From: AnotherTest Date: Sat, 28 Nov 2020 18:07:44 +0330 Subject: [PATCH] AK: Export ShouldChomp::NoChomp too It's much more elegant to say 'should_chomp ? Chomp : NoChomp' than to say 'if (should_chomp) ...(..., Chomp) else ...(...)'. --- AK/StringImpl.h | 1 + 1 file changed, 1 insertion(+) diff --git a/AK/StringImpl.h b/AK/StringImpl.h index c1d9e614f8..24278ce99e 100644 --- a/AK/StringImpl.h +++ b/AK/StringImpl.h @@ -141,5 +141,6 @@ struct Formatter : Formatter { } using AK::Chomp; +using AK::NoChomp; using AK::string_hash; using AK::StringImpl;