Vitali Lovich created THRIFT-2472:
-------------------------------------

             Summary: Thrift types that don't participate in inheritance 
shouldn't have virtual destructors
                 Key: THRIFT-2472
                 URL: https://issues.apache.org/jira/browse/THRIFT-2472
             Project: Thrift
          Issue Type: Bug
            Reporter: Vitali Lovich


Literally nothing else is virtual so there's a vtable introduced into all 
thrift types for no reason if there's no inheritance.

Even with inheritance it would be nice if this were configurable.  For 
instance, in our use case all thrift types are treated by value so we don't 
virtual destructors. 



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to