Thrift: Change the way constants are initialized to avoid segfaults.
authorDavid Reiss <dreiss@apache.org>
Fri, 18 Jan 2008 07:39:36 +0000 (07:39 +0000)
committerDavid Reiss <dreiss@apache.org>
Fri, 18 Jan 2008 07:39:36 +0000 (07:39 +0000)
commit050f3200a2963d00212d4f4b62acfe428ad789a6
tree73aa94ae747a4418c1e7d5608620eded55cad734
parent5b3cbd13d60433f231697e8e39d3ffa6d73398b3
Thrift: Change the way constants are initialized to avoid segfaults.

Reviewed By: mcslee

Test Plan: Looked at the patch carefully.

Other Notes:
Patch submitted by Dave Simpson.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665437 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc