avro-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ecatmur <...@git.apache.org>
Subject [GitHub] avro pull request #203: AVRO-1542: Replace deprecated std::auto_ptr
Date Mon, 06 Mar 2017 12:51:26 GMT
GitHub user ecatmur opened a pull request:

    https://github.com/apache/avro/pull/203

    AVRO-1542: Replace deprecated std::auto_ptr

    Replace deprecated std::auto_ptr with boost::movelib::unique_ptr.
    
    > boost::movelib::unique_ptr is a drop-in replacement for std::unique_ptr, usable also
from C++03 compilers.
    
    This supersedes https://github.com/apache/avro/pull/157
    
    Note that some deprecation warnings remain because of transitive includes through Boost
libraries (ptr_vector, iostreams) depending on Boost version.
    
    Tested in C++11 mode with gcc 5.4.0, in C++03 mode with gcc 4.9.2.

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

    $ git pull https://github.com/ecatmur/avro avro-1542

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

    https://github.com/apache/avro/pull/203.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 #203
    
----
commit a985b4daa8ee309948e6470ab64207ddf31bdea7
Author: Edward Catmur <edward.catmur@mavensecurities.com>
Date:   2017-03-06T11:53:05Z

    AVRO-1542: Replace deprecated std::auto_ptr with boost::movelib::unique_ptr

commit 86a84f6b3ddd4d0fd8b3a28acd124a9dab8e4600
Author: Edward Catmur <edward.catmur@mavensecurities.com>
Date:   2017-03-06T12:35:19Z

    Missed some cases

commit ec225fba9dc57e19f6af26876d261dacf9c0775a
Author: Edward Catmur <edward.catmur@mavensecurities.com>
Date:   2017-03-06T12:38:36Z

    Missed some cases

commit ff3ddcd9e2697b299181eaca8b3a7607ac9ef8f1
Author: Edward Catmur <edward.catmur@mavensecurities.com>
Date:   2017-03-06T12:50:21Z

    C++03 fix

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

Mime
View raw message