[ 
https://issues.apache.org/jira/browse/THRIFT-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15146180#comment-15146180
 ] 

ASF GitHub Bot commented on THRIFT-3622:
----------------------------------------

GitHub user jsirois opened a pull request:

    https://github.com/apache/thrift/pull/860

    THRIFT-3622 Fix deprecated uses of std::auto_ptr

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/jsirois/thrift THRIFT-3622

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/thrift/pull/860.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #860
    
----
commit 95a5eefbce34a7c5766c5015fe0fa8b35d647f28
Author: John Sirois <jsir...@apache.org>
Date:   2016-02-13T20:27:03Z

    Replace deprecated auto_ptr uses with unique_ptr.

----


> Fix deprecated uses of std::auto_ptr
> ------------------------------------
>
>                 Key: THRIFT-3622
>                 URL: https://issues.apache.org/jira/browse/THRIFT-3622
>             Project: Thrift
>          Issue Type: Task
>          Components: C++ - Library
>            Reporter: John Sirois
>            Assignee: John Sirois
>
> We have some in lib/cpp, like so:
> {noformat}
> JSONProtoTest.cpp:35:13: warning: ‘template<class> class std::auto_ptr’ is 
> deprecated [-Wdeprecated-declarations]
>  static std::auto_ptr<OneOfEach> ooe;
>              ^
> In file included from /usr/include/c++/5.3.0/bits/locale_conv.h:41:0,
>                  from /usr/include/c++/5.3.0/locale:43,
>                  from /usr/include/c++/5.3.0/iomanip:43,
>                  from JSONProtoTest.cpp:22:
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to