mirror of
https://github.com/kerberos-io/openalpr-base.git
synced 2025-10-07 04:40:51 +08:00
Removed unnecessary initialization on setRegion function
This commit is contained in:
@@ -511,10 +511,6 @@ namespace alpr
|
|||||||
void AlprImpl::setDefaultRegion(string region)
|
void AlprImpl::setDefaultRegion(string region)
|
||||||
{
|
{
|
||||||
this->defaultRegion = region;
|
this->defaultRegion = region;
|
||||||
if (!region.empty() && this->stateIdentifier == NULL)
|
|
||||||
{
|
|
||||||
this->stateIdentifier = new StateIdentifier(this->config);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
std::string AlprImpl::getVersion()
|
std::string AlprImpl::getVersion()
|
||||||
|
Reference in New Issue
Block a user