diff options
author | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-03 21:50:40 +0000 |
---|---|---|
committer | jsdelfino <jsdelfino@13f79535-47bb-0310-9956-ffa450edef68> | 2009-10-03 21:50:40 +0000 |
commit | 3dfdf5ef0405474dbd4084e1aafdc44d9b1d49e4 (patch) | |
tree | 14735aa7faf4b848889713fc153382af269a7344 /cpp/sca/kernel/function.hpp | |
parent | b2b06bd2780dc40f666201d095c388313364b37a (diff) |
Removed explicit C++ keywords to let the compiler perform the necessary conversions.
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@821426 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to '')
-rw-r--r-- | cpp/sca/kernel/function.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/cpp/sca/kernel/function.hpp b/cpp/sca/kernel/function.hpp index caba5211b9..07b4111239 100644 --- a/cpp/sca/kernel/function.hpp +++ b/cpp/sca/kernel/function.hpp @@ -86,12 +86,12 @@ public: template<typename F> class Proxy: public Callable { public: - explicit Proxy(const F& f) : function(f) { + Proxy(const F& f) : function(f) { countProxies++; countFProxies ++; } - explicit Proxy(const Proxy& p) : function(p.function) { + Proxy(const Proxy& p) : function(p.function) { countProxies++; countCProxies ++; } @@ -123,7 +123,7 @@ public: countELambdas++; } - template<typename F> explicit lambda(const F f) : callable(0) { + template<typename F> lambda(const F f) : callable(0) { typedef typename CallableType::template Proxy<F> ProxyType; countLambdas++; @@ -214,7 +214,7 @@ template<typename R, typename T, typename U, typename V, typename... P> const la */ template<typename T> class unitReturn { public: - explicit unitReturn(const T& v) : + unitReturn(const T& v) : v(v) { } const T operator()() const { |