From 57b500610f34d15e7261c6460144ec88f710af85 Mon Sep 17 00:00:00 2001 From: David Reiss Date: Wed, 25 Feb 2009 00:59:55 +0000 Subject: [PATCH] THRIFT-348. cpp: Fix readBool for vectors of bools (again) This bug only affected the returned number bytes read (which is not currently used), not the actual bool value. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@747635 13f79535-47bb-0310-9956-ffa450edef68 --- lib/cpp/src/protocol/TProtocol.h | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cpp/src/protocol/TProtocol.h b/lib/cpp/src/protocol/TProtocol.h index 5dcea2b7..4507d91b 100644 --- a/lib/cpp/src/protocol/TProtocol.h +++ b/lib/cpp/src/protocol/TProtocol.h @@ -217,6 +217,7 @@ class TProtocol { bool value; uint32_t rv = readBool(value); ref = value; + return rv; } /** -- 2.17.1