diff --git a/src/blackmisc/logcategorylist.h b/src/blackmisc/logcategorylist.h index c5cca55a3..0692481b8 100644 --- a/src/blackmisc/logcategorylist.h +++ b/src/blackmisc/logcategorylist.h @@ -41,6 +41,9 @@ namespace BlackMisc //! Empty constructor. CLogCategoryList() = default; + //! By single element + CLogCategoryList(const CLogCategory &category) { this->push_back(category); } + //! Copy constructor. CLogCategoryList(const CLogCategoryList &) = default;