Fixed some warnings (left some because they need more attention)

This commit is contained in:
Eelke Klein 2017-02-02 07:22:54 +01:00
parent ccae3685ac
commit 468779ba38
6 changed files with 12 additions and 8 deletions

View file

@ -6,8 +6,9 @@ Expected<OpenDatabase*> OpenDatabase::createOpenDatabase(const ConnectionConfig
OpenDatabase *odb = new OpenDatabase(cfg, nullptr);
if (odb->Init()) {
return odb;
}
return odb;
//return Expected<ConnectionConfig>::fromException(std::out_of_range("Invalid row"));
}