[
https://issues.apache.org/jira/browse/THRIFT-3622?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15859614#comment-15859614
]
ASF GitHub Bot commented on THRIFT-3622:
----------------------------------------
GitHub user jeking3 opened a pull request:
https://github.com/apache/thrift/pull/1183
THRIFT-3622: remove auto_ptr use in the codebase because it is deprecated
You can merge this pull request into a Git repository by running:
$ git pull https://github.com/jeking3/thrift THRIFT-3622
Alternatively you can review and apply these changes as the patch at:
https://github.com/apache/thrift/pull/1183.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 #1183
----
commit b4b47051046f8d099e9eeeb8e5c565ec7cd8a055
Author: James E. King, III <[email protected]>
Date: 2017-02-09T14:36:01Z
THRIFT-3622: remove auto_ptr use in the codebase because it is deprecated
----
> 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: James E. King, III
>
> 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.15#6346)