Issue #77 getLogCategories returns a simple QStringList instead of our own class

This commit is contained in:
Mat Sutcliffe
2020-10-28 16:48:31 +00:00
parent 05d28017e7
commit 63e8de8f00
156 changed files with 862 additions and 833 deletions

View File

@@ -158,9 +158,9 @@ namespace BlackMisc
// CValueCache
////////////////////////////////
const CLogCategoryList &CValueCache::getLogCategories()
const QStringList &CValueCache::getLogCategories()
{
static const CLogCategoryList cats({ CLogCategory("swift.valuecache") , CLogCategory::services()} );
static const QStringList cats({ "swift.valuecache" , CLogCategories::services()} );
return cats;
}
@@ -592,7 +592,7 @@ namespace BlackMisc
// Private :: CValuePage
////////////////////////////////
const CLogCategoryList &CValuePage::getLogCategories()
const QStringList &CValuePage::getLogCategories()
{
return CValueCache::getLogCategories();
}