Fix uninitialized out_

This commit is contained in:
Jason Cobb 2021-02-28 21:39:31 -05:00
parent 707515b1b5
commit b263cd5de4
No known key found for this signature in database
GPG Key ID: 2A3F6A6DCA1E8DED

View File

@ -487,7 +487,7 @@ class truncating_iterator_default_construct_base<OutputIt, std::true_type> {
protected: protected:
OutputIt out_; OutputIt out_;
truncating_iterator_default_construct_base() = default; truncating_iterator_default_construct_base() : out_() {}
explicit truncating_iterator_default_construct_base(OutputIt out) : explicit truncating_iterator_default_construct_base(OutputIt out) :
out_(std::move(out)) {} out_(std::move(out)) {}