X-Git-Url: https://git.teslayout.com/public/public/public/?a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FStatus.hpp;h=3c615d3a8d55e5ea970e525bfc57c651421d2076;hb=e14f6ba5183403d7bbf589ef87b0643b12a0f72c;hp=2f96c7c86386ddbc74ae1722234149efd4ccb024;hpb=93366a0bda79e6fd6e7dad6316bfcf8cc82f5731;p=anna.git diff --git a/include/anna/comm/Status.hpp b/include/anna/comm/Status.hpp index 2f96c7c..3c615d3 100644 --- a/include/anna/comm/Status.hpp +++ b/include/anna/comm/Status.hpp @@ -29,17 +29,17 @@ public: Status() : a_value(Unavailable) {;} Status(const Status& other) : a_value(other.a_value) {;} Status(const _v v) : a_value(v) {;} - Status& operator = (const _v v) throw() { a_value = v; return *this; } - Status& operator = (const Status& other) throw() { a_value = other.a_value; return *this; } + Status& operator = (const _v v) { a_value = v; return *this; } + Status& operator = (const Status& other) { a_value = other.a_value; return *this; } - bool operator != (const Status& other) const throw() { return a_value != other.a_value; } - bool operator != (const Status::_v v) const throw() { return a_value != v ; } - bool operator == (const Status& other) const throw() { return a_value == other.a_value; } - bool operator == (const Status::_v v) const throw() { return a_value == v ; } + bool operator != (const Status& other) const { return a_value != other.a_value; } + bool operator != (const Status::_v v) const { return a_value != v ; } + bool operator == (const Status& other) const { return a_value == other.a_value; } + bool operator == (const Status::_v v) const { return a_value == v ; } - _v value() const throw() { return a_value; } + _v value() const { return a_value; } - std::string asString() const throw(); + std::string asString() const ; private: _v a_value;