From f8853db7deeff37286f10b8c5dcba2a9d4d80676 Mon Sep 17 00:00:00 2001 From: Sahil Sinha Date: Thu, 19 Jun 2025 20:13:06 +0530 Subject: [PATCH] Fix indentation to match existing code style --- test/scan.h | 33 +++++++++++++++++---------------- 1 file changed, 17 insertions(+), 16 deletions(-) diff --git a/test/scan.h b/test/scan.h index a6827bd3..21c3794c 100644 --- a/test/scan.h +++ b/test/scan.h @@ -244,22 +244,23 @@ template struct custom_scan_arg { // A scan argument. Context is a template parameter for the compiled API where // output can be unbuffered. -template class basic_scan_arg { - private: - using scan_type = detail::scan_type; - scan_type type_; -union { - int* int_value_; - unsigned* uint_value_; - long long* long_long_value_; - unsigned long long* ulong_long_value_; - double* double_value_; - float* float_value_; - std::string* string_; - string_view* string_view_; - detail::custom_scan_arg custom_; - // TODO: more types -}; + template class basic_scan_arg { + private: + using scan_type = detail::scan_type; + scan_type type_; + union { + int* int_value_; + unsigned* uint_value_; + long long* long_long_value_; + unsigned long long* ulong_long_value_; + double* double_value_; + float* float_value_; + std::string* string_; + string_view* string_view_; + detail::custom_scan_arg custom_; + // TODO: more types + }; + template static void scan_custom_arg(void* arg, scan_parse_context& parse_ctx, Context& ctx) {