r1515@opsdev009 (orig r80457): mcslee | 2008-01-30 15:23:15 -0800
commitffae470ff31dcb13c1b10960b9223583676549df
author(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 30 Jan 2008 23:24:10 +0000 (30 23:24 +0000)
committer(no author) <(no author)@41a61cd8-c433-0410-bb1c-e256eeef9e11>
Wed, 30 Jan 2008 23:24:10 +0000 (30 23:24 +0000)
tree1efc3b444fd8fc78d4beda4d510992d08954fca5
parente07a10dc2f391cc959c2ea510dda76f5d223086f
 r1515@opsdev009 (orig r80457):  mcslee | 2008-01-30 15:23:15 -0800
 Improve Thrift map deserialization code

 Summary: Instead of copy-constructing map values into the map, alter the code such that we insert default-constructed elements into the map and then deserialize them by reference.

 Reviewed By: hzhao

 Test Plan: Ran the test in test/cpp which include serialization and deserialization of nested maps.

git-svn-id: http://svn.facebook.com/svnroot/thrift/trunk@776 41a61cd8-c433-0410-bb1c-e256eeef9e11
compiler/cpp/src/generate/t_cpp_generator.cc
compiler/cpp/src/generate/t_cpp_generator.h