mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-14 00:25:35 +08:00
refs #403 Add Policy::MetaType::None for base class templates
This commit is contained in:
@@ -16,6 +16,14 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
namespace Geo { template <class> class CEarthAngle; }
|
||||
|
||||
//! \private
|
||||
template <class LATorLON> struct CValueObjectPolicy<Geo::CEarthAngle<LATorLON>> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::None;
|
||||
};
|
||||
|
||||
namespace Geo
|
||||
{
|
||||
/*!
|
||||
|
||||
@@ -17,6 +17,13 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
//! \private
|
||||
template <> struct CValueObjectPolicy<Geo::CLatitude> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::Default;
|
||||
};
|
||||
|
||||
namespace Geo
|
||||
{
|
||||
|
||||
|
||||
@@ -16,6 +16,13 @@
|
||||
|
||||
namespace BlackMisc
|
||||
{
|
||||
|
||||
//! \private
|
||||
template <> struct CValueObjectPolicy<Geo::CLongitude> : public CValueObjectPolicy<>
|
||||
{
|
||||
using MetaType = Policy::MetaType::Default;
|
||||
};
|
||||
|
||||
namespace Geo
|
||||
{
|
||||
|
||||
|
||||
Reference in New Issue
Block a user