all ones value for return failed now

This commit is contained in:
Robin Müller 2020-06-23 13:47:38 +02:00
parent 6f4682e1c8
commit 5f16d30d82

View File

@ -12,7 +12,8 @@ typedef uint16_t ReturnValue_t;
class HasReturnvaluesIF {
public:
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() {}
};