You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@thrift.apache.org by "Vitali Lovich (JIRA)" <ji...@apache.org> on 2014/04/17 01:52:22 UTC

[jira] [Created] (THRIFT-2472) Thrift types that don't participate in inheritance shouldn't have virtual destructors

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)