neighbor/{Explorer,Listener}: add "noexcept"
This commit is contained in:
@@ -43,12 +43,12 @@ public:
|
||||
class MyNeighborListener final : public NeighborListener {
|
||||
public:
|
||||
/* virtual methods from class NeighborListener */
|
||||
virtual void FoundNeighbor(const NeighborInfo &info) override {
|
||||
virtual void FoundNeighbor(const NeighborInfo &info) noexcept override {
|
||||
printf("found '%s' (%s)\n",
|
||||
info.display_name.c_str(), info.uri.c_str());
|
||||
}
|
||||
|
||||
virtual void LostNeighbor(const NeighborInfo &info) override {
|
||||
virtual void LostNeighbor(const NeighborInfo &info) noexcept override {
|
||||
printf("lost '%s' (%s)\n",
|
||||
info.display_name.c_str(), info.uri.c_str());
|
||||
}
|
||||
|
Reference in New Issue
Block a user