Added default case to AddressDecoder::CreateInstance.
This commit is contained in:
@@ -56,6 +56,9 @@ void AddressDecoder::createInstance(Type t)
|
||||
case Type::JSON:
|
||||
m_pInstance = new JSONAddressDecoder;
|
||||
break;
|
||||
default:
|
||||
throw std::logic_error("Instance type not supported.");
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user