From 1bfba4d6caa690ab7a2e68625c902a8093092bf8 Mon Sep 17 00:00:00 2001 From: schodet Date: Tue, 5 Apr 2005 22:00:37 +0000 Subject: Constructeur en explicit. --- 2005/i/robert/src/utils/any.hh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/2005/i/robert/src/utils/any.hh b/2005/i/robert/src/utils/any.hh index 8a24a06..eabee96 100644 --- a/2005/i/robert/src/utils/any.hh +++ b/2005/i/robert/src/utils/any.hh @@ -38,9 +38,9 @@ class any any (void); /// Constructor. template - any (const T &value); + explicit any (const T &value); /// Copy constructor. - any (const any &other); + explicit any (const any &other); /// Destructor. ~any (void); /// Swap content between two any objects. -- cgit v1.2.3