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

do not use templates in lookup for raw overload

parent 04609c33
No related branches found
No related tags found
No related merge requests found
...@@ -13,7 +13,7 @@ namespace abstraction { ...@@ -13,7 +13,7 @@ namespace abstraction {
   
std::shared_ptr < abstraction::OperationAbstraction > RawReaderRegistry::getAbstraction ( const std::string & type ) { std::shared_ptr < abstraction::OperationAbstraction > RawReaderRegistry::getAbstraction ( const std::string & type ) {
for ( const std::pair < const std::string, std::unique_ptr < Entry > > & entry : getEntries ( ) ) { for ( const std::pair < const std::string, std::unique_ptr < Entry > > & entry : getEntries ( ) ) {
if ( entry.first == type ) if ( ext::is_same_type ( entry.first, type ) )
return entry.second->getAbstraction ( ); return entry.second->getAbstraction ( );
} }
   
......
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