Nate Rosenblum created THRIFT-2048:
--------------------------------------

             Summary: 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


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