Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-utils_fs_auto__cleaners.hpp
blobc3070e28c56fa38c7d1fb9ee024a61668d4d0f00
1 $NetBSD$
3 --- utils/fs/auto_cleaners.hpp.orig 2013-05-06 08:10:18.000000000 +0000
4 +++ utils/fs/auto_cleaners.hpp
5 @@ -33,7 +33,13 @@
6 #define UTILS_FS_AUTO_CLEANERS_HPP
8 #include <string>
9 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
10 +#include <memory>
11 +using std::shared_ptr;
12 +#else
13 #include <tr1/memory>
14 +using std::tr1::shared_ptr;
15 +#endif
17 #include "utils/fs/path.hpp"
19 @@ -48,7 +54,7 @@ namespace fs {
20 class auto_directory {
21 struct impl;
22 /// Reference-counted, shared implementation.
23 - std::tr1::shared_ptr< impl > _pimpl;
24 + shared_ptr< impl > _pimpl;
26 public:
27 explicit auto_directory(const path&);
28 @@ -68,7 +74,7 @@ public:
29 class auto_file {
30 struct impl;
31 /// Reference-counted, shared implementation.
32 - std::tr1::shared_ptr< impl > _pimpl;
33 + shared_ptr< impl > _pimpl;
35 public:
36 explicit auto_file(const path&);