From 085c5b2d0b70a2ff3d9ccf8616a7bdf4abbc957f Mon Sep 17 00:00:00 2001 From: weidai Date: Thu, 14 Dec 2006 11:41:39 +0000 Subject: port to Borland C++Builder 2006 git-svn-id: svn://svn.code.sf.net/p/cryptopp/code/trunk/c5@260 57ff6487-cd31-0410-9ec3-f628ee90f5f0 --- socketft.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'socketft.h') diff --git a/socketft.h b/socketft.h index d23dd40..e414aa6 100644 --- a/socketft.h +++ b/socketft.h @@ -94,6 +94,8 @@ public: #ifdef USE_WINDOWS_STYLE_SOCKETS void CheckAndHandleError(const char *operation, BOOL result) const {assert(result==TRUE || result==FALSE); if (!result) HandleError(operation);} + void CheckAndHandleError(const char *operation, bool result) const + {if (!result) HandleError(operation);} #endif //! look up the port number given its name, returns 0 if not found -- cgit v1.2.1