From 1825924b7bf46d65fc163ac89921d9d70ddbe33b Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Tue, 5 May 2020 10:16:16 +0200 Subject: [PATCH 1/2] abbreviation for resultIF --- returnvalues/HasReturnvaluesIF.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/returnvalues/HasReturnvaluesIF.h b/returnvalues/HasReturnvaluesIF.h index d84fc757..964d081f 100644 --- a/returnvalues/HasReturnvaluesIF.h +++ b/returnvalues/HasReturnvaluesIF.h @@ -18,4 +18,6 @@ public: }; +using ResultIF = HasReturnvaluesIF; + #endif /* HASRETURNVALUESIF_H_ */ From c05b9cbd01b490046f6d7881bf4ff62f7e2a63c2 Mon Sep 17 00:00:00 2001 From: "Robin.Mueller" Date: Tue, 5 May 2020 14:07:27 +0200 Subject: [PATCH 2/2] reverted ResultIF. for now, keep using HasReturnvaluesIF --- returnvalues/HasReturnvaluesIF.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/returnvalues/HasReturnvaluesIF.h b/returnvalues/HasReturnvaluesIF.h index 964d081f..9bbaf601 100644 --- a/returnvalues/HasReturnvaluesIF.h +++ b/returnvalues/HasReturnvaluesIF.h @@ -13,11 +13,7 @@ class HasReturnvaluesIF { public: static const ReturnValue_t RETURN_OK = 0; static const ReturnValue_t RETURN_FAILED = 0xFFFF; - virtual ~HasReturnvaluesIF() { - } - + virtual ~HasReturnvaluesIF() {} }; -using ResultIF = HasReturnvaluesIF; - #endif /* HASRETURNVALUESIF_H_ */