returnvalue all ones now

This commit is contained in:
Robin Müller 2020-06-23 13:46:43 +02:00
parent fd8a3e9fcc
commit 1d6ce65682

View File

@ -12,7 +12,8 @@ typedef uint16_t ReturnValue_t;
class HasReturnvaluesIF { class HasReturnvaluesIF {
public: public:
static const ReturnValue_t RETURN_OK = 0; static const ReturnValue_t RETURN_OK = 0;
static const ReturnValue_t RETURN_FAILED = 0xFFFF; //! This will be the alll-ones value irrespective of used unsigned datatype.
static const ReturnValue_t RETURN_FAILED = -1;
virtual ~HasReturnvaluesIF() {} virtual ~HasReturnvaluesIF() {}
}; };