subversion-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: svn commit: r1849445 - /subversion/trunk/subversion/bindings/cxx/src/aprwrap/impl.cpp
Date Thu, 20 Dec 2018 23:51:41 GMT
On 21.12.2018 00:49, brane@apache.org wrote:
> Author: brane
> Date: Thu Dec 20 23:49:25 2018
> New Revision: 1849445
>
> URL: http://svn.apache.org/viewvc?rev=1849445&view=rev
> Log:
> Use the standard call_once pattern to initialize the SVN++ global pool.
>
> * subversion/bindings/cxx/src/aprwrap/impl.cpp:
>    - Include <mutex>
>    - Do not include apr_time.h or private/svn_atomic.h.
>  (Pool::get_root_pool): Replace manual atomic initialization crud with
>   std::call_once and std::once_flag.

And this is where modern C++ really starts to shine.

-- Brane


Mime
View raw message