Github user djwatson commented on the pull request:

    https://github.com/apache/thrift/pull/84#issuecomment-39975322
  
    The destructor is defined in the .cpp file now:
    
      // Destructor
     +  if (tstruct->annotations_.find("final") == tstruct->annotations_.end()) 
{
     +    out <<
     +      endl <<
     +      indent() << tstruct->get_name() << "::~" << tstruct->get_name() << 
"() throw() {" << endl;
     +    indent_up();
     +
     +    for (m_iter = members.begin(); m_iter != members.end(); ++m_iter) {
     +      if (is_reference(*m_iter)) {
     +  out << indent() <<
     +    "delete " << (*m_iter)->get_name() << ";" << endl;
     +      }
     +    }   
    
    Is your _types.cpp linked in?  Or other repro?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to