Fix uninitialized out_
This commit is contained in:
parent
707515b1b5
commit
b263cd5de4
@ -487,7 +487,7 @@ class truncating_iterator_default_construct_base<OutputIt, std::true_type> {
|
||||
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)) {}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user