diff options
author | Ashley Nelson <nashley@google.com> | 2023-10-17 11:06:50 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-17 18:06:50 +0000 |
commit | de81d7dac836b9c6f02526709cda39ba27a81d88 (patch) | |
tree | fcee18dca4577adbb1164482d7f4d6bb698921ca | |
parent | 2bf3caae764689c606ae38353b1bad5fe28bf5bb (diff) | |
download | binaryen-de81d7dac836b9c6f02526709cda39ba27a81d88.tar.gz binaryen-de81d7dac836b9c6f02526709cda39ba27a81d88.tar.bz2 binaryen-de81d7dac836b9c6f02526709cda39ba27a81d88.zip |
Added type to fix template deduction failure (#6014)
Fixes #6003
-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(), |