diff --git a/Glob.hxx.in b/Glob.hxx.in
index b5a34d59a1e6bf556da0acbc5fb53e9a4b7dbff8..e8474e2001530fce058512f1b4a228d30922192c 100644
--- a/Glob.hxx.in
+++ b/Glob.hxx.in
@@ -126,8 +126,8 @@ protected:
   bool RecurseListDirs;
 
 private:
-  Glob(const Glob&);           // Not implemented.
-  void operator=(const Glob&); // Not implemented.
+  Glob(const Glob&) = delete;
+  void operator=(const Glob&) = delete;
 };
 
 } // namespace @KWSYS_NAMESPACE@