3 --- utils
/fs
/auto_cleaners
.hpp
.orig
2013-05-06 08:10:18.000000000 +0000
4 +++ utils
/fs
/auto_cleaners
.hpp
6 #define UTILS_FS_AUTO_CLEANERS_HPP
9 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
11 +using std::shared_ptr
;
14 +using std::tr1::shared_ptr
;
17 #include "utils/fs/path.hpp"
19 @@
-48,7 +54,7 @@
namespace fs
{
20 class auto_directory
{
22 /// Reference-counted, shared implementation.
23 - std::tr1::shared_ptr
< impl
> _pimpl
;
24 + shared_ptr
< impl
> _pimpl
;
27 explicit auto_directory(const path
&);
28 @@
-68,7 +74,7 @@
public:
31 /// Reference-counted, shared implementation.
32 - std::tr1::shared_ptr
< impl
> _pimpl
;
33 + shared_ptr
< impl
> _pimpl
;
36 explicit auto_file(const path
&);