mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-27 11:05:44 +08:00
Remove unused Base template parameter
This commit is contained in:
@@ -106,11 +106,9 @@ namespace BlackMisc
|
|||||||
* Mix of the most commonly used mixin classes.
|
* Mix of the most commonly used mixin classes.
|
||||||
* \see BlackMisc::Mixin
|
* \see BlackMisc::Mixin
|
||||||
* \tparam Derived The class which is inheriting from this one (CRTP).
|
* \tparam Derived The class which is inheriting from this one (CRTP).
|
||||||
* \tparam Base The class which this one shall inherit from (default is CEmpty,
|
|
||||||
* but this can be changed to create a deeper inheritance hierarchy).
|
|
||||||
*/
|
*/
|
||||||
template <class Derived, class Base = CEmpty> class CValueObject :
|
template <class Derived> class CValueObject :
|
||||||
public Base,
|
public CEmpty,
|
||||||
public Mixin::MetaType<Derived>,
|
public Mixin::MetaType<Derived>,
|
||||||
public Mixin::HashByMetaClass<Derived>,
|
public Mixin::HashByMetaClass<Derived>,
|
||||||
public Mixin::DBusByMetaClass<Derived>,
|
public Mixin::DBusByMetaClass<Derived>,
|
||||||
@@ -125,7 +123,7 @@ namespace BlackMisc
|
|||||||
{
|
{
|
||||||
public:
|
public:
|
||||||
//! Base class
|
//! Base class
|
||||||
using base_type = Base;
|
using base_type = CEmpty;
|
||||||
|
|
||||||
//! \copydoc BlackMisc::Mixin::String::toQString
|
//! \copydoc BlackMisc::Mixin::String::toQString
|
||||||
using Mixin::String<Derived>::toQString;
|
using Mixin::String<Derived>::toQString;
|
||||||
@@ -172,7 +170,7 @@ namespace BlackMisc
|
|||||||
|
|
||||||
protected:
|
protected:
|
||||||
//! Inheriting constructors.
|
//! Inheriting constructors.
|
||||||
using Base::Base;
|
using CEmpty::CEmpty;
|
||||||
|
|
||||||
//! Default constructor.
|
//! Default constructor.
|
||||||
CValueObject() = default;
|
CValueObject() = default;
|
||||||
|
|||||||
Reference in New Issue
Block a user