From 24fe685340be6d3ab3ef315a95a67d172bfe6bf5 Mon Sep 17 00:00:00 2001 From: Eduardo Almeida Date: Mon, 30 May 2022 19:00:43 +0100 Subject: [PATCH] Fix typos in deleted methods --- src/core/model/simulator.h | 2 +- src/internet/helper/ipv4-list-routing-helper.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/core/model/simulator.h b/src/core/model/simulator.h index ff56a9c6a..fd704cd79 100644 --- a/src/core/model/simulator.h +++ b/src/core/model/simulator.h @@ -68,7 +68,7 @@ class Scheduler; class Simulator { public: - // Delete copy constructor and assignment operator to avoid misuse + // Delete default constructor and destructor to avoid misuse Simulator () = delete; ~Simulator () = delete; diff --git a/src/internet/helper/ipv4-list-routing-helper.h b/src/internet/helper/ipv4-list-routing-helper.h index c7ec8cdc0..384d7888d 100644 --- a/src/internet/helper/ipv4-list-routing-helper.h +++ b/src/internet/helper/ipv4-list-routing-helper.h @@ -55,7 +55,7 @@ public: */ Ipv4ListRoutingHelper (const Ipv4ListRoutingHelper &o); - // Delete copy constructor and assignment operator to avoid misuse + // Delete assignment operator to avoid misuse Ipv4ListRoutingHelper &operator= (const Ipv4ListRoutingHelper &) = delete; /**