Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-utils_config_tree.hpp
blob743246303aefd32e149e52ef044da282f863262b
1 $NetBSD$
3 --- utils/config/tree.hpp.orig 2013-01-26 03:01:41.000000000 +0000
4 +++ utils/config/tree.hpp
5 @@ -34,7 +34,13 @@
7 #include <map>
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 <lutok/state.hpp>
19 @@ -82,7 +88,7 @@ typedef std::map< std::string, std::stri
20 /// deep_copy().
21 class tree {
22 /// The root of the tree.
23 - std::tr1::shared_ptr< detail::static_inner_node > _root;
24 + shared_ptr< detail::static_inner_node > _root;
26 explicit tree(detail::static_inner_node*);