summaryrefslogtreecommitdiff
path: root/test/OptionalRequiredTest.thrift
diff options
context:
space:
mode:
authorDavid Reiss <dreiss@apache.org>2008-02-27 01:55:17 +0000
committerDavid Reiss <dreiss@apache.org>2008-02-27 01:55:17 +0000
commit9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f (patch)
treea047210c4603c6d119639b2112049e5ebce8136d /test/OptionalRequiredTest.thrift
parent79eca14125c391c6011f4ffb14bfea898bc6c2f9 (diff)
downloadthrift-9a08dc6184cd0c3fd3d774fcf3f0a4233e28975f.tar.gz
Make the C++ generator use non-hardcoded namespaces.
- Make the C++ generator use program->get_namespace("cpp") instead of program->get_cpp_namespace() - Eliminate the explicit "cpp_namespace" in t_program. - Deprecate the cpp_namespace token. - Update example .thrift files and syntax files. git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665513 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 42e787906..a6358139a 100644
--- a/test/OptionalRequiredTest.thrift
+++ b/test/OptionalRequiredTest.thrift
@@ -1,4 +1,4 @@
-cpp_namespace thrift.test
+namespace cpp thrift.test
struct OldSchool {
1: i16 im_int;