small formatting

This commit is contained in:
artemp 2016-04-06 11:36:18 +02:00
parent ccf26a743d
commit 8bc4b28a76

View file

@ -65,7 +65,7 @@ datasource_cache::~datasource_cache()
datasource_ptr datasource_cache::create(parameters const& params)
{
boost::optional<std::string> type = params.get<std::string>("type");
if ( ! type)
if (!type)
{
throw config_error(std::string("Could not create datasource. Required ") +
"parameter 'type' is missing");