From aa1786147521f8d67814a14c7900dfa8fb798160 Mon Sep 17 00:00:00 2001 From: Jason Cobb Date: Sun, 28 Feb 2021 21:30:44 -0500 Subject: [PATCH] Add missing base constructor --- include/fmt/format.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/fmt/format.h b/include/fmt/format.h index 7fc94652..2a16aa63 100644 --- a/include/fmt/format.h +++ b/include/fmt/format.h @@ -477,6 +477,9 @@ class truncating_iterator_default_construct_base { OutputIt out_; truncating_iterator_default_construct_base() = delete; + + explicit truncating_iterator_default_construct_base(OutputIt out) : + out_(std::move(out)) {} }; template @@ -485,6 +488,9 @@ class truncating_iterator_default_construct_base { OutputIt out_; truncating_iterator_default_construct_base() = default; + + explicit truncating_iterator_default_construct_base(OutputIt out) : + out_(std::move(out)) {} }; template class truncating_iterator_base