Ref T545 Removed redundant constructors that are now inherited.

This commit is contained in:
Mat Sutcliffe
2019-03-02 18:12:47 +00:00
parent c05a32dbd4
commit 1cb21f0a4b
33 changed files with 6 additions and 118 deletions

View File

@@ -45,24 +45,12 @@ namespace BlackMisc
//! By single element
CLogCategoryList(const CLogCategory &category) { this->push_back(category); }
//! Copy constructor.
CLogCategoryList(const CLogCategoryList &) = default;
//! Copy construct from superclass instance.
CLogCategoryList(const CSequence<CLogCategory> &other) : CSequence<CLogCategory>(other) {}
//! Initializer list constructor.
CLogCategoryList(std::initializer_list<CLogCategory> il) : CSequence<CLogCategory>(il) {}
//! Prevent accidental use of the initializer list constructor.
CLogCategoryList(std::nullptr_t) = delete;
//! Copy assignment.
CLogCategoryList &operator =(const CLogCategoryList &) = default;
//! Copy assign from superclass instance.
CLogCategoryList &operator =(const CSequence<CLogCategory> &other) { CSequence<CLogCategory>::operator =(other); return *this; }
/*!
* Construct by extracting categories from a class T.
*