refs #649, added caches to model data reader

* trait
* const fix distributor list
This commit is contained in:
Klaus Basan
2016-06-06 02:36:49 +02:00
parent c39882e5db
commit 332d8e5fc8
8 changed files with 169 additions and 84 deletions

View File

@@ -49,11 +49,22 @@ namespace BlackCore
return ll;
}
const CDistributorList &DbDistributorCache::defaultValue()
{
static const CDistributorList dl;
return dl;
}
const BlackMisc::Network::CUrl &DbIcaoReaderBaseUrl::defaultValue()
{
static const CUrl url;
return url;
}
const CUrl &DbModelReaderBaseUrl::defaultValue()
{
static const CUrl url;
return url;
}
} // ns
} // ns