summaryrefslogtreecommitdiff
path: root/2005/i
diff options
context:
space:
mode:
authorschodet2005-04-05 22:00:37 +0000
committerschodet2005-04-05 22:00:37 +0000
commit1bfba4d6caa690ab7a2e68625c902a8093092bf8 (patch)
tree7a643535589b1392bc8cfa2e2ef522c38214cbb7 /2005/i
parent0708eb33559aa470f6a5dc542cc7657ea13680a3 (diff)
Constructeur en explicit.
Diffstat (limited to '2005/i')
-rw-r--r--2005/i/robert/src/utils/any.hh4
1 files 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<typename T>
- 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.