Thrift: Fix fingerprinting bug.
authorDavid Reiss <dreiss@apache.org>
Mon, 17 Sep 2007 21:16:32 +0000 (21:16 +0000)
committerDavid Reiss <dreiss@apache.org>
Mon, 17 Sep 2007 21:16:32 +0000 (21:16 +0000)
commitf84b360d5c593653a3f038d526797805861b8ace
tree671d7ce07ba060df01e4bd5028e94e5297658082
parent79ae0f8d485a568ce94be9f86a2aa5f143856dda
Thrift: Fix fingerprinting bug.

Summary:
Fingerprints were'nt being initialized properly because I forgot to move
the initialization from t_struct to t_type.  Fixed that.
Also, typedefs weren't generating fingerprints for their true types.

Reviewed By: mcslee

Test Plan:
This didn't work before with -cpp -dense.  Now it does.
typedef list<i32> ilist
struct foo { 1: ilist l }

Revert Plan: ok

git-svn-id: https://svn.apache.org/repos/asf/incubator/thrift/trunk@665268 13f79535-47bb-0310-9956-ffa450edef68
compiler/cpp/src/parse/t_struct.h
compiler/cpp/src/parse/t_type.h
compiler/cpp/src/parse/t_typedef.h