catch( std::exception& err )
{
std::cerr
- << "Interface load failed on \"" << argv[ 1 ] << "\": "
+ << "Error caught:"
<< err.what( )
<< std::endl;
return( 1 );
- } // fi
+ } // yrt
// Show loaded filters
auto filters = interface.GetFilters( );
std::cout << "Category: " << cIt->first << std::endl;
for( auto nIt = cIt->second.begin( ); nIt != cIt->second.end( ); ++nIt )
std::cout
- << "\tFilter: " << nIt->first
- << " (" << nIt->second << ")"
+ << "\tFilter: " << *nIt
<< std::endl;
} // rof