thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dre...@apache.org
Subject svn commit: r761481 - /incubator/thrift/trunk/lib/cpp/src/server/TNonblockingServer.h
Date Thu, 02 Apr 2009 23:51:39 GMT
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;
   }
 



Mime
View raw message