From dc18181aaaafd88f53c74ead7fa504f6fa947428 Mon Sep 17 00:00:00 2001 From: Jan Travnicek <Jan.Travnicek@fit.cvut.cz> Date: Sun, 28 Jan 2018 18:31:56 +0100 Subject: [PATCH] fix invalid use of move --- alib2algo/src/arbology/exact/ExactTreePatternAutomaton.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alib2algo/src/arbology/exact/ExactTreePatternAutomaton.h b/alib2algo/src/arbology/exact/ExactTreePatternAutomaton.h index 86569ee64e..f7ab52cbf6 100644 --- a/alib2algo/src/arbology/exact/ExactTreePatternAutomaton.h +++ b/alib2algo/src/arbology/exact/ExactTreePatternAutomaton.h @@ -63,7 +63,7 @@ automaton::InputDrivenNPDA < common::ranked_symbol < SymbolType, RankType >, cha for ( const common::ranked_symbol < SymbolType, RankType > & symbol : tree.getContent ( ) ) { res.addState ( i ); res.addTransition ( i - 1, symbol, i ); - res.addTransition ( 0, std::move ( symbol ), i ); + res.addTransition ( 0, symbol, i ); if ( tree.getBars ( ).count ( symbol ) ) { unsigned source = subtreeJumps.back ( ); -- GitLab