mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-12 23:35:33 +08:00
refs #403 Add Policy::MetaType::None for base class templates
This commit is contained in:
@@ -14,6 +14,15 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
namespace Aviation { class CAvionicsBase; }
|
||||
|
||||
//! \private
|
||||
template <> struct CValueObjectPolicy<Aviation::CAvionicsBase> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::None;
|
||||
};
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
|
||||
|
||||
@@ -21,6 +21,7 @@ namespace BlackMisc
|
||||
//! \private
|
||||
template <> struct CValueObjectPolicy<Aviation::CComSystem> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::Default;
|
||||
using LessThan = Policy::LessThan::None;
|
||||
using Compare = Policy::Compare::None;
|
||||
using Hash = Policy::Hash::Own;
|
||||
|
||||
@@ -16,6 +16,15 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
namespace Aviation { class CTransponder; }
|
||||
|
||||
//! \private
|
||||
template <> struct CValueObjectPolicy<Aviation::CTransponder> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::Default;
|
||||
};
|
||||
|
||||
namespace Aviation
|
||||
{
|
||||
//! Transponder
|
||||
|
||||
Reference in New Issue
Block a user