Skip to content

Commit

Permalink
Use merge function
Browse files Browse the repository at this point in the history
Co-authored-by: Johannes Kalmbach <[email protected]>
  • Loading branch information
RobinTF and joka921 authored Nov 19, 2024
1 parent 61d8901 commit c11da8b
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/engine/LocalVocab.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

// _____________________________________________________________________________
LocalVocab LocalVocab::clone() const {
LocalVocab clone;
clone.mergeWith(std::span{this, 1});
return clone;
return merge(std::span{this, 1});
}

// _____________________________________________________________________________
Expand Down

0 comments on commit c11da8b

Please sign in to comment.