On 21.12.2018 00:49, br...@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