From b263cd5de4a6499be2c6a401be4f9b94d59492f1 Mon Sep 17 00:00:00 2001 From: Jason Cobb Date: Sun, 28 Feb 2021 21:39:31 -0500 Subject: [PATCH] Fix uninitialized out_ --- include/fmt/format.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/format.h b/include/fmt/format.h index 2a16aa63..7d08bc26 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -487,7 +487,7 @@ class truncating_iterator_default_construct_base { protected: OutputIt out_; - truncating_iterator_default_construct_base() = default; + truncating_iterator_default_construct_base() : out_() {} explicit truncating_iterator_default_construct_base(OutputIt out) : out_(std::move(out)) {}