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

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

     [ https://issues.apache.org/jira/browse/THRIFT-2472?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Henrique Mendonça updated THRIFT-2472:
--------------------------------------

    Component/s: C++ - Compiler

> 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
>          Components: C++ - Compiler
>            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)