From 4894785ed77899ba9246d6c45c78aaea6f654cdf Mon Sep 17 00:00:00 2001 From: Kent Mein Date: Mon, 1 Nov 2004 14:06:13 +0000 Subject: Cast 0 as unsigned int for sun's CC to get rid of this: "BP_ProxyList.h", line 60: Error: Cannot use std::pair to initialize std::pair. Kent --- extern/solid/src/broad/BP_ProxyList.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'extern/solid/src') diff --git a/extern/solid/src/broad/BP_ProxyList.h b/extern/solid/src/broad/BP_ProxyList.h index dde5693904a..2f449777d2d 100755 --- a/extern/solid/src/broad/BP_ProxyList.h +++ b/extern/solid/src/broad/BP_ProxyList.h @@ -45,7 +45,7 @@ public: iterator add(BP_Proxy *proxy) { - BP_ProxyEntry entry = std::make_pair(proxy, 0); + BP_ProxyEntry entry = std::make_pair(proxy, (unsigned int)0); iterator it = std::lower_bound(begin(), end(), entry); if (it == end() || (*it).first != proxy) { @@ -57,7 +57,7 @@ public: void remove(BP_Proxy *proxy) { - BP_ProxyEntry entry = std::make_pair(proxy, 0); + BP_ProxyEntry entry = std::make_pair(proxy, (unsigned int)0); iterator it = std::lower_bound(begin(), end(), entry); if (it != end() && (*it).first == proxy && --(*it).second == 0) { -- cgit v1.2.3