From 0066688ea3d298aaa945a91f89d1925a17b235d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Gilles?= <sebastien.gilles@inria.fr> Date: Sun, 3 Nov 2024 18:48:05 +0100 Subject: [PATCH] Fix comment in hands on solution. --- HandsOn/3-Operators/Solution/exercise30.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HandsOn/3-Operators/Solution/exercise30.cpp b/HandsOn/3-Operators/Solution/exercise30.cpp index 2c2d0f4..4fd6835 100644 --- a/HandsOn/3-Operators/Solution/exercise30.cpp +++ b/HandsOn/3-Operators/Solution/exercise30.cpp @@ -64,7 +64,7 @@ public: //! Get the resolution. int GetResolution() const; - //! Pure virtual method Do(). + //! Pure virtual method - operator(). virtual void operator()(int Nbits) const = 0; //! Stupid method to silence the -Wweak-vtables warning - at least one virtual method must be defined outside the class declaration, and virtual method definition unfortunately doesn't count. -- GitLab