From 536e248424af02b230638ce52cd780e712327a56 Mon Sep 17 00:00:00 2001 From: Chris Miles Date: Mon, 13 Feb 2023 21:21:05 -0600 Subject: [PATCH] [Windows] Fix MSVC compilation bug via workaround (#2926) --- common/json/json_archive_single_line.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/json/json_archive_single_line.h b/common/json/json_archive_single_line.h index ed49cc35e..18e55f5bd 100644 --- a/common/json/json_archive_single_line.h +++ b/common/json/json_archive_single_line.h @@ -111,7 +111,7 @@ namespace cereal @param indentChar The type of character to indent with @param indentLength The number of indentChar to use for indentation (0 corresponds to no indentation) */ - explicit Options( int precision = JSONWriterSL::Writer::kDefaultMaxDecimalPlaces, + explicit Options( int precision = 324, IndentChar indentChar = IndentChar::space, unsigned int indentLength = 4, bool singleLine = false) :