X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=include%2Fanna%2Fcomm%2FStatus.hpp;fp=include%2Fanna%2Fcomm%2FStatus.hpp;h=3c615d3a8d55e5ea970e525bfc57c651421d2076;hp=2f96c7c86386ddbc74ae1722234149efd4ccb024;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 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;