Skip to content
Snippets Groups Projects
Commit 504cef08 authored by Jan Trávníček's avatar Jan Trávníček
Browse files

tidy: use forward instead of move

parent 6d1e9a65
No related branches found
No related tags found
1 merge request!224Tidy fixes following the merger of new normalization
......@@ -66,7 +66,7 @@ ext::set < common::ranked_symbol < DefaultSymbolType > > SymbolNormalize::normal
 
template < class SymbolType >
DefaultSymbolType SymbolNormalize::normalizeSymbol ( SymbolType && symbol ) {
return factory::NormalizeFactory::normalize < SymbolType > ( std::move ( symbol ) );
return factory::NormalizeFactory::normalize < SymbolType > ( std::forward < SymbolType > ( symbol ) );
}
 
template < class FirstSymbolType, class SecondSymbolType >
......
......@@ -73,7 +73,7 @@ ext::vector < DefaultStateType > AutomatonNormalize::normalizeStates ( ext::vect
 
template < class StateType >
DefaultStateType AutomatonNormalize::normalizeState ( StateType && state) {
return factory::NormalizeFactory::normalize < StateType > ( std::move ( state ) );
return factory::NormalizeFactory::normalize < StateType > ( std::forward < StateType > ( state ) );
}
 
template < class SymbolType >
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment