cpp: Eliminate circular dependency between thrift libraries
authorDavid Reiss <dreiss@apache.org>
Tue, 9 Mar 2010 05:20:07 +0000 (05:20 +0000)
committerDavid Reiss <dreiss@apache.org>
Tue, 9 Mar 2010 05:20:07 +0000 (05:20 +0000)
commitac110e4f1cd87ce38fce06e61ef88bc84ac2edb0
tree36ed0ff4d1a5a098f89eaeaf5571fe884e8cffd6
parent7a2065d3dbdf361bbbe8b66a5b03080c0e532403
cpp: Eliminate circular dependency between thrift libraries

Previously, Thrift.cpp contained TApplicationException, which was using
TProtocol methods, defined in TProtocol.h.  This caused a circular
dependency since libprotocol depends on Thrift.h.  This change moves
TApplicationException into its own file.

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@920682 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/generate/t_cpp_generator.cc
lib/cpp/src/TApplicationException.cpp [new file with mode: 0644]
lib/cpp/src/TApplicationException.h [new file with mode: 0644]
lib/cpp/src/Thrift.cpp
lib/cpp/src/Thrift.h
lib/cpp/src/protocol/TDenseProtocol.cpp