From 5523f8f4bf39d4e764e5d813592a78a20d26c3cf Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Thu, 28 Apr 2016 14:22:36 +0200 Subject: [PATCH] fix segfault --- alib2data/src/tree/ranked/PrefixRankedBarTree.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp b/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp index f96b0c828a..2ca062dc3a 100644 --- a/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp +++ b/alib2data/src/tree/ranked/PrefixRankedBarTree.cpp @@ -32,7 +32,7 @@ PrefixRankedBarTree::PrefixRankedBarTree ( alphabet::Symbol bar, std::set < alph } PrefixRankedBarTree::PrefixRankedBarTree ( alphabet::Symbol bar, std::vector < alphabet::RankedSymbol > data ) : std::Components < PrefixRankedBarTree, alphabet::RankedSymbol, std::tuple < GeneralAlphabet >, std::tuple < > > ( std::make_tuple ( std::set < alphabet::RankedSymbol > ( data.begin ( ), data.end ( ) ) ), std::tuple < > ( ) ), m_Data ( std::move ( data ) ), bar ( std::move ( bar ) ) { - arityChecksum ( data ); + arityChecksum ( m_Data ); } PrefixRankedBarTree::PrefixRankedBarTree ( alphabet::Symbol bar, const RankedTree & tree ) : std::Components < PrefixRankedBarTree, alphabet::RankedSymbol, std::tuple < GeneralAlphabet >, std::tuple < > > ( std::make_tuple ( std::set < alphabet::RankedSymbol > ( tree.getAlphabet ( ) ) ), std::tuple < > ( ) ), bar ( std::move ( bar ) ) { -- GitLab