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

outsource remaining calls to symbol normalize

parent bc2c92ad
No related branches found
No related tags found
No related merge requests found
...@@ -16,6 +16,7 @@ ...@@ -16,6 +16,7 @@
   
#include <regexp/unbounded/UnboundedRegExpStructure.h> #include <regexp/unbounded/UnboundedRegExpStructure.h>
#include <alphabet/RankedSymbol.h> #include <alphabet/RankedSymbol.h>
#include <alphabet/common/SymbolNormalize.h>
   
namespace automaton { namespace automaton {
   
...@@ -69,7 +70,7 @@ std::variant < DefaultEpsilonType, DefaultSymbolType > AutomatonNormalize::norma ...@@ -69,7 +70,7 @@ std::variant < DefaultEpsilonType, DefaultSymbolType > AutomatonNormalize::norma
if ( symbol.template is < EpsilonType > ( ) ) if ( symbol.template is < EpsilonType > ( ) )
return std::variant < DefaultEpsilonType, DefaultSymbolType >::template from < DefaultEpsilonType > ( ); return std::variant < DefaultEpsilonType, DefaultSymbolType >::template from < DefaultEpsilonType > ( );
else else
return std::variant < DefaultEpsilonType, DefaultSymbolType > ( DefaultSymbolType ( alib::AnyObject < SymbolType > ( std::move ( symbol.template get < SymbolType > ( ) ) ) ) ); return std::variant < DefaultEpsilonType, DefaultSymbolType > ( alphabet::SymbolNormalize::normalizeSymbol ( std::move ( symbol.template get < SymbolType > ( ) ) ) );
} }
   
template < class SymbolType > 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