File tree Expand file tree Collapse file tree 1 file changed +13
-13
lines changed
Expand file tree Collapse file tree 1 file changed +13
-13
lines changed Original file line number Diff line number Diff line change @@ -248,19 +248,19 @@ template <typename Context> struct custom_scan_arg {
248248 private:
249249 using scan_type = detail::scan_type;
250250 scan_type type_;
251- union {
252- int * int_value_;
253- unsigned * uint_value_;
254- long long * long_long_value_;
255- unsigned long long * ulong_long_value_;
256- double * double_value_;
257- float * float_value_;
258- std::string* string_;
259- string_view* string_view_;
260- detail::custom_scan_arg<Context> custom_;
261- // TODO: more types
262- };
263-
251+ union {
252+ int * int_value_;
253+ unsigned * uint_value_;
254+ long long * long_long_value_;
255+ unsigned long long * ulong_long_value_;
256+ double * double_value_;
257+ float * float_value_;
258+ std::string* string_;
259+ string_view* string_view_;
260+ detail::custom_scan_arg<Context> custom_;
261+ // TODO: more types
262+ };
263+
264264 template <typename T>
265265 static void scan_custom_arg (void * arg, scan_parse_context& parse_ctx,
266266 Context& ctx) {
You can’t perform that action at this time.
0 commit comments