Binary readers: keep the tag argument of append_from_block() astyle-proof

Signed-off-by: Niels Lohmann <mail@nlohmann.me>
This commit is contained in:
Niels Lohmann committed 2026-11-06 08:40:38 +01:00
1 parent baf0bee38f
commit a33af0a51b
2 files changed
+4 -2

No files matched your search

@@ -4889,7 +4889,8 @@ class binary_reader
{
// a string that is in the block of input as a whole is appended from
// it, without the zero-filling resize() below
if (append_from_block(len, result, std::integral_constant < bool, bulk_scan && std::is_same<ContainerType, string_t>::value > {}))
constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
{
return true;
}
+2 -1
View File
@@ -22905,7 +22905,8 @@ class binary_reader
{
// a string that is in the block of input as a whole is appended from
// it, without the zero-filling resize() below
if (append_from_block(len, result, std::integral_constant < bool, bulk_scan && std::is_same<ContainerType, string_t>::value > {}))
constexpr bool from_block = bulk_scan && std::is_same<ContainerType, string_t>::value;
if (append_from_block(len, result, std::integral_constant<bool, from_block> {}))
{
return true;
}