You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@thrift.apache.org by dr...@apache.org on 2009/04/03 01:51:39 UTC
svn commit: r761481 -
/incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
Author: dreiss
Date: Thu Apr 2 23:51:39 2009
New Revision: 761481
URL: http://svn.apache.org/viewvc?rev=761481&view=rev
Log:
THRIFT-411. cpp: Make TNonblockingServer::connectionStackLimit_ accessors use the right type
Modified:
incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
Modified: incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h?rev=761481&r1=761480&r2=761481&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h (original)
+++ incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h Thu Apr 2 23:51:39 2009
@@ -171,7 +171,7 @@
*
* @return the current limit on TConnection pool size.
*/
- int getConnectionStackLimit() const {
+ size_t getConnectionStackLimit() const {
return connectionStackLimit_;
}
@@ -180,7 +180,7 @@
*
* @param sz the new limit for TConnection pool size.
*/
- void setConnectionStackLimit(int sz) {
+ void setConnectionStackLimit(size_t sz) {
connectionStackLimit_ = sz;
}