thrift-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bryanduxb...@apache.org
Subject svn commit: r761705 - /incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp
Date Fri, 03 Apr 2009 15:05:28 GMT
Author: bryanduxbury
Date: Fri Apr  3 15:05:28 2009
New Revision: 761705

URL: http://svn.apache.org/viewvc?rev=761705&view=rev
Log:
THRIFT-425. cpp: numeric_limits is declared in <limits>

TCompactProtocol.cpp doesn't compile without including limits.


Modified:
    incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp

Modified: incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp
URL: http://svn.apache.org/viewvc/incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp?rev=761705&r1=761704&r2=761705&view=diff
==============================================================================
--- incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp (original)
+++ incubator/thrift/trunk/lib/cpp/src/protocol/TCompactProtocol.cpp Fri Apr  3 15:05:28 2009
@@ -20,6 +20,7 @@
 #include "TCompactProtocol.h"
 
 #include <config.h>
+#include <limits>
 
 /*
  * TCompactProtocol::i*ToZigzag depend on the fact that the right shift



Mime
View raw message