summaryrefslogtreecommitdiff
path: root/test/OptionalRequiredTest.thrift
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2007-08-21 23:59:34 +0000
committerDavid Reiss <dreiss@apache.org>2007-08-21 23:59:34 +0000
commit2dc72c3864e76d9eb14c1f83def63fa2351f4fb2 (patch)
treea9d1cb7875bb45a5ee9eba760ca229902a34408c /test/OptionalRequiredTest.thrift
parentdd56497a7c97f07c8d97b9c7323652fb2b7154e0 (diff)
downloadthrift-2dc72c3864e76d9eb14c1f83def63fa2351f4fb2.tar.gz
Thrift: Move TStringBuffer functionality into TMemoryBuffer.
Summary: TMemoryBuffer already has the necessary plubming to work with C++ strings. This revision implements that functionality with a few wrapper methods. Removed TStringBuffer as it should no longer be required (and it is tricky to safely inherit from a class that has a non-virtual destructor). Also refactored the TMemoryBuffer constructors a bit. Reviewed By: aditya, yunfang Test Plan: test/TMemoryBufferTest.cpp Revert Plan: ok git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665213 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/OptionalRequiredTest.thrift')
-rw-r--r--test/OptionalRequiredTest.thrift2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/OptionalRequiredTest.thrift b/test/OptionalRequiredTest.thrift
index 9738bd6aa..b2652dd5c 100644
--- a/test/OptionalRequiredTest.thrift
+++ b/test/OptionalRequiredTest.thrift
@@ -1,6 +1,6 @@
/*
../compiler/cpp/thrift -cpp OptionalRequiredTest.thrift
-g++ -Wall -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
+g++ -Wall -g -I../lib/cpp/src -I/usr/local/include/boost-1_33_1 \
OptionalRequiredTest.cpp gen-cpp/OptionalRequiredTest_types.cpp \
../lib/cpp/.libs/libthrift.a -o OptionalRequiredTest
./OptionalRequiredTest