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

Nate Rosenblum updated THRIFT-2048:
-----------------------------------

    Attachment: 0001-Prefer-boolean-context-to-nullptr_t-conversion.patch

trivial patch attached
                
> Prefer boolean context to nullptr_t conversion
> ----------------------------------------------
>
>                 Key: THRIFT-2048
>                 URL: https://issues.apache.org/jira/browse/THRIFT-2048
>             Project: Thrift
>          Issue Type: Bug
>          Components: C++ - Library
>    Affects Versions: 0.9
>         Environment: Building with -std=c++0x or c++11
>            Reporter: Nate Rosenblum
>            Priority: Trivial
>         Attachments: 0001-Prefer-boolean-context-to-nullptr_t-conversion.patch
>
>
> Implicit conversion from NULL -> nullptr generates a warning in contemporary 
> c++. Instead, prefer evaluating shared_ptr in boolean context to check for 
> null.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to