mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-07 19:35:32 +08:00
Ref T545 Removed redundant constructors that are now inherited.
This commit is contained in:
@@ -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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user