diff options
-rw-r--r-- | test/gtest/stringify.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/gtest/stringify.cpp b/test/gtest/stringify.cpp index 22b194484..14f5009e1 100644 --- a/test/gtest/stringify.cpp +++ b/test/gtest/stringify.cpp @@ -253,8 +253,7 @@ TEST_F(StringifyTest, Stringify) { std::vector<SuffixTree::RepeatedSubstring> repeatSubstrings(std::vector<uint32_t> hashString) { SuffixTree st(hashString); - std::vector<SuffixTree::RepeatedSubstring> substrings = - std::vector(st.begin(), st.end()); + std::vector<SuffixTree::RepeatedSubstring> substrings(st.begin(), st.end()); std::sort( substrings.begin(), substrings.end(), |