From fa19d8fccc3bf6b88ac8fb1c6d01dd131e812275 Mon Sep 17 00:00:00 2001 From: Crzyrndm Date: Mon, 25 Jun 2018 21:35:02 +1200 Subject: [PATCH] Providing an explicit default value disables aggregate initialisation --- include/xlnt/cell/rich_text_run.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/xlnt/cell/rich_text_run.hpp b/include/xlnt/cell/rich_text_run.hpp index c7112a6a..0988a7e7 100644 --- a/include/xlnt/cell/rich_text_run.hpp +++ b/include/xlnt/cell/rich_text_run.hpp @@ -38,7 +38,7 @@ struct rich_text_run { std::string first; optional second; - bool preserve_space = false; + bool preserve_space; bool operator==(const rich_text_run &other) const;