From dbb84e136c41b1054c6a9916152104947642f19a Mon Sep 17 00:00:00 2001 From: FreePhoenix888 Date: Thu, 14 Apr 2022 14:32:51 +0600 Subject: [PATCH] Move DefaultTargetPart to linksConstants, remove LinksConstantsBase.h --- cpp/Platform.Data/LinksConstants.h | 3 ++- cpp/Platform.Data/LinksConstantsBase.h | 7 ------- 2 files changed, 2 insertions(+), 8 deletions(-) delete mode 100644 cpp/Platform.Data/LinksConstantsBase.h diff --git a/cpp/Platform.Data/LinksConstants.h b/cpp/Platform.Data/LinksConstants.h index 927f8a3c..751657ad 100644 --- a/cpp/Platform.Data/LinksConstants.h +++ b/cpp/Platform.Data/LinksConstants.h @@ -1,8 +1,9 @@ namespace Platform::Data { template - struct LinksConstants : LinksConstantsBase + struct LinksConstants { + static constexpr int DefaultTargetPart = 2; public: const TLinkAddress IndexPart{}; diff --git a/cpp/Platform.Data/LinksConstantsBase.h b/cpp/Platform.Data/LinksConstantsBase.h deleted file mode 100644 index 3f0784e9..00000000 --- a/cpp/Platform.Data/LinksConstantsBase.h +++ /dev/null @@ -1,7 +0,0 @@ -namespace Platform::Data -{ - struct LinksConstantsBase - { - public: static constexpr int DefaultTargetPart = 2; - }; -}