diff --git a/alib2algo/src/tree/properties/ExactSubtreeRepeatsNaive.cpp b/alib2algo/src/tree/properties/ExactSubtreeRepeatsNaive.cpp index cd0e7445f3ac8198f4a0855546be5f20f8cb3fc2..aadee252e25ecd648b41e3602639e572eba85f6d 100644 --- a/alib2algo/src/tree/properties/ExactSubtreeRepeatsNaive.cpp +++ b/alib2algo/src/tree/properties/ExactSubtreeRepeatsNaive.cpp @@ -35,7 +35,7 @@ std::tree < std::ranked_symbol < > > ExactSubtreeRepeatsNaive::repeats ( const s if ( uniqueRepeatId == 0 ) uniqueRepeatId = minId++; - return std::tree < std::ranked_symbol < > > ( std::ranked_symbol < > ( alphabet::Symbol ( uniqueRepeatId ), node.getData ( ).getRank ( ) ), std::move ( children ) ); + return std::tree < std::ranked_symbol < > > ( std::ranked_symbol < > ( DefaultSymbolType ( uniqueRepeatId ), node.getData ( ).getRank ( ) ), std::move ( children ) ); } tree::RankedTree < > ExactSubtreeRepeatsNaive::repeats ( const tree::RankedTree < > & tree ) { @@ -51,7 +51,7 @@ std::ranked_symbol < > ExactSubtreeRepeatsNaive::repeatsPrefixRanked ( const std int begin = index; std::pair < std::ranked_symbol < >, std::vector < std::ranked_symbol < > > > childRepeatsKey ( symbols[begin], std::vector < std::ranked_symbol < > > ( ) ); - res.push_back ( std::ranked_symbol < > ( alphabet::Symbol ( 0 ), symbols[begin].getRank ( ) ) ); + res.push_back ( std::ranked_symbol < > ( DefaultSymbolType ( 0 ), symbols[begin].getRank ( ) ) ); index++; @@ -62,7 +62,7 @@ std::ranked_symbol < > ExactSubtreeRepeatsNaive::repeatsPrefixRanked ( const std if ( uniqueRepeatId == 0 ) uniqueRepeatId = minId++; - res[begin] = std::ranked_symbol < > ( alphabet::Symbol ( uniqueRepeatId ), symbols[begin].getRank ( ) ); + res[begin] = std::ranked_symbol < > ( DefaultSymbolType ( uniqueRepeatId ), symbols[begin].getRank ( ) ); return res[begin]; } @@ -82,7 +82,7 @@ std::ranked_symbol < > ExactSubtreeRepeatsNaive::repeatsPrefixRankedBar ( const int begin = index; std::pair < std::ranked_symbol < >, std::vector < std::ranked_symbol < > > > childRepeatsKey ( symbols[begin], std::vector < std::ranked_symbol < > > ( ) ); - res.push_back ( std::ranked_symbol < > ( alphabet::Symbol ( 0 ), symbols[begin].getRank ( ) ) ); + res.push_back ( std::ranked_symbol < > ( DefaultSymbolType ( 0 ), symbols[begin].getRank ( ) ) ); index++; @@ -93,7 +93,7 @@ std::ranked_symbol < > ExactSubtreeRepeatsNaive::repeatsPrefixRankedBar ( const if ( uniqueRepeatId == 0 ) uniqueRepeatId = minId++; - res[begin] = std::ranked_symbol < > ( alphabet::Symbol ( uniqueRepeatId ), symbols[begin].getRank ( ) ); + res[begin] = std::ranked_symbol < > ( DefaultSymbolType ( uniqueRepeatId ), symbols[begin].getRank ( ) ); res.push_back ( symbols[index] ); index++;