small formatting
This commit is contained in:
parent
ccf26a743d
commit
8bc4b28a76
1 changed files with 1 additions and 1 deletions
|
@ -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");
|
||||
|
|
Loading…
Add table
Reference in a new issue