Commit bd165229 authored by Steven Murray's avatar Steven Murray
Browse files

Removed redundant typedef from Login::parseString()

parent 9aebb73a
Pipeline #324 passed with stages
in 14 minutes and 48 seconds
......@@ -115,8 +115,7 @@ Login Login::parseString(const std::string &connectionString) {
throw exception::Exception("Invalid connection string: Empty string");
}
typedef Login::DbTypeAndConnectionDetails DbTypeAndConnectionDetails;
const DbTypeAndConnectionDetails typeAndDetails = parseDbTypeAndConnectionDetails(connectionString);
const auto typeAndDetails = parseDbTypeAndConnectionDetails(connectionString);
if(typeAndDetails.dbTypeStr == DbTypeAndConnectionDetails::in_memory) {
return parseInMemory(typeAndDetails.connectionDetails);
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment