You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@arrow.apache.org by "Wes McKinney (JIRA)" <ji...@apache.org> on 2018/11/20 17:23:00 UTC

[jira] [Resolved] (ARROW-3841) [C++] warning: catching polymorphic type by value

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

Wes McKinney resolved ARROW-3841.
---------------------------------
       Resolution: Fixed
    Fix Version/s: 0.12.0

Issue resolved by pull request 3003
[https://github.com/apache/arrow/pull/3003]

> [C++] warning: catching polymorphic type by value
> -------------------------------------------------
>
>                 Key: ARROW-3841
>                 URL: https://issues.apache.org/jira/browse/ARROW-3841
>             Project: Apache Arrow
>          Issue Type: Improvement
>          Components: C++
>    Affects Versions: 0.11.1
>            Reporter: Kouhei Sutou
>            Assignee: Kouhei Sutou
>            Priority: Minor
>              Labels: pull-request-available
>             Fix For: 0.12.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> {code}
> ../src/arrow/compute/compute-test.cc: In member function 'virtual void arrow::compute::TestCast_StringToNumber_Test::TestBody()':
> ../src/arrow/compute/compute-test.cc:917:17: warning: catching polymorphic type 'class std::runtime_error' by value [-Wcatch-value=]
>    } catch (std::runtime_error) {
>                  ^~~~~~~~~~~~~
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)