Make base set_name take const std:string& instead of std:string
authorMark Slee <mcslee@apache.org>
Fri, 21 Dec 2007 23:53:10 +0000 (23:53 +0000)
committerMark Slee <mcslee@apache.org>
Fri, 21 Dec 2007 23:53:10 +0000 (23:53 +0000)
commitf845b7d3e097097446067b3a0bc96c6dc85008ca
treee8a980d0650619934409a3ffc0f5300c38c5abef
parentc27fc31333720f7f959f526534fa8ed8f37bd532
Make base set_name take const std:string& instead of std:string

Summary: All the subclasses do that so it causes warnings not to and is dumb because copy constructing std::string is dumb

Reviewed By: kholst

Test Plan: Generate some codes, compile with -Werror

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