We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 332bed0 commit 269eb82Copy full SHA for 269eb82
contrib/fstlib/fst/fst.h
@@ -691,8 +691,8 @@ class FstImpl {
691
properties_.store(impl.properties_.load(std::memory_order_relaxed),
692
std::memory_order_relaxed);
693
type_ = impl.type_;
694
- isymbols_ = impl.isymbols_ ? impl.isymbols_->Copy() : nullptr;
695
- osymbols_ = impl.osymbols_ ? impl.osymbols_->Copy() : nullptr;
+ isymbols_.reset(impl.isymbols_ ? impl.isymbols_->Copy() : nullptr);
+ osymbols_.reset(impl.osymbols_ ? impl.osymbols_->Copy() : nullptr);
696
return *this;
697
}
698
0 commit comments