From e7c788386d78c403f36ecf31ce860a73f4ce8f64 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 18 Dec 2022 14:00:33 +0800 Subject: [PATCH] 1 --- a8/a8.h | 1 - a8/xparams.h | 51 --------------------------------------------------- 2 files changed, 52 deletions(-) delete mode 100644 a8/xparams.h diff --git a/a8/a8.h b/a8/a8.h index 01cb2d2..059f421 100644 --- a/a8/a8.h +++ b/a8/a8.h @@ -16,7 +16,6 @@ #include #include #include -#include #include #include diff --git a/a8/xparams.h b/a8/xparams.h deleted file mode 100644 index 56932ed..0000000 --- a/a8/xparams.h +++ /dev/null @@ -1,51 +0,0 @@ -#pragma once - -namespace a8 -{ - - class XParams - { - public: - - template - a8::XParams& SetSender(T val) - { - sender.Set(val); - return *this; - } - - template - a8::XParams& SetParam1(T val) - { - param1.Set(val); - return *this; - } - - template - a8::XParams& SetParam2(T val) - { - param2.Set(val); - return *this; - } - - template - a8::XParams& SetParam3(T val) - { - param3.Set(val); - return *this; - } - - void DeepCopy(a8::XParams& to) - { - to = *this; - } - - public: - a8::XValue sender; - a8::XValue param1; - a8::XValue param2; - a8::XValue param3; - long long _sys_field = 0; - }; - -}