From 2853156a2bce535bcaa440c37cf872916f76c03b Mon Sep 17 00:00:00 2001 From: jsdelfino Date: Thu, 3 Jan 2013 08:10:25 +0000 Subject: Refactoring, rename isNil to isNull. git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@1428206 13f79535-47bb-0310-9956-ffa450edef68 --- sca-cpp/trunk/kernel/function.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sca-cpp/trunk/kernel/function.hpp') diff --git a/sca-cpp/trunk/kernel/function.hpp b/sca-cpp/trunk/kernel/function.hpp index 0a88cf51d9..e2ba8ad0ad 100644 --- a/sca-cpp/trunk/kernel/function.hpp +++ b/sca-cpp/trunk/kernel/function.hpp @@ -160,7 +160,7 @@ public: } template friend ostream& operator<<(ostream&, const lambda&); - template friend const bool isNil(const lambda& l) noexcept; + template friend const bool isNull(const lambda& l) noexcept; private: typedef Callable CallableType; @@ -179,7 +179,7 @@ template inline ostream& operator<<(ostream& out, const lambda& l /** * Return true if a lambda is nil. */ -template inline const bool isNil(const lambda& l) noexcept { +template inline const bool isNull(const lambda& l) noexcept { return (const void*)l.callable == NULL; } -- cgit v1.2.3