mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-18 11:25:33 +08:00
refs #413, #416 Using Mixin::Index in more classes so that index "myself" yields correct derived type.
(cherry picked from commit 2b7f7eb6b692a3464863ece86b30ea0b7efc2a1d)
This commit is contained in:
@@ -33,7 +33,8 @@ namespace BlackMisc
|
||||
public Mixin::HashByTuple<CTrack>,
|
||||
public Mixin::DBusByTuple<CTrack>,
|
||||
public Mixin::JsonByTuple<CTrack>,
|
||||
public Mixin::String<CTrack>
|
||||
public Mixin::String<CTrack>,
|
||||
public Mixin::Index<CTrack>
|
||||
{
|
||||
public:
|
||||
//! Base type
|
||||
@@ -43,6 +44,7 @@ namespace BlackMisc
|
||||
BLACKMISC_DECLARE_USING_MIXIN_STRING(CTrack)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_DBUS(CTrack)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_JSON(CTrack)
|
||||
BLACKMISC_DECLARE_USING_MIXIN_INDEX(CTrack)
|
||||
|
||||
/*!
|
||||
* Enum type to distinguish between true north and magnetic north
|
||||
|
||||
Reference in New Issue
Block a user