From 7a7d44b6939b6d74e0539e6bb9572812bd5b7d05 Mon Sep 17 00:00:00 2001 From: Thomas Fussell Date: Sat, 31 Dec 2016 20:15:44 -0500 Subject: [PATCH] use make_pair instead of braced initializer in rich_text constructor --- source/cell/rich_text.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/cell/rich_text.cpp b/source/cell/rich_text.cpp index fb333817..3543b284 100644 --- a/source/cell/rich_text.cpp +++ b/source/cell/rich_text.cpp @@ -29,7 +29,7 @@ namespace xlnt { rich_text::rich_text(const std::string &plain_text) - : rich_text(rich_text_run{plain_text, {}}) + : rich_text(std::make_pair(plain_text, optional())) { }