X-Git-Url: https://git.teslayout.com/public/public/public/?p=anna.git;a=blobdiff_plain;f=source%2Fcomm%2FCodec.cpp;h=08e318b8e71c8946b124b69bbcbcaf84e9b8673f;hp=4d13c182a57dea0d94abe435887ec080105e9715;hb=5a6cba5fde2b2f538a7515f8293cc0a8d9589dfa;hpb=af9c86ffb0e28d35ad94d99c5f77e41578c972b4 diff --git a/source/comm/Codec.cpp b/source/comm/Codec.cpp index 4d13c18..08e318b 100644 --- a/source/comm/Codec.cpp +++ b/source/comm/Codec.cpp @@ -16,17 +16,17 @@ using namespace std; using namespace anna; const comm::Variable* comm::Codec::attach(const char* name, Second& value) -throw(RuntimeException) { +noexcept(false) { return CompatCodec::attach(name, size(), value.refValue()); } const comm::Variable* comm::Codec::attach(const char* name, Millisecond& value) -throw(RuntimeException) { +noexcept(false) { return CompatCodec::attach(name, size(), (int&) value.refValue()); } const comm::Variable* comm::Codec::attach(const char* name, Microsecond& value) -throw(RuntimeException) { +noexcept(false) { return CompatCodec::attach(name, size(), (S64&) value.refValue()); }