Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-engine_metadata.hpp
blob9e255530ec4b15a56abaa8fe5d597a096f0acc93
1 $NetBSD: patch-engine_metadata.hpp,v 1.1 2013/03/02 18:16:39 joerg Exp $
3 --- engine/metadata.hpp.orig 2013-01-26 03:01:41.000000000 +0000
4 +++ engine/metadata.hpp
5 @@ -38,13 +38,19 @@
6 #include <set>
7 #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/noncopyable.hpp"
19 namespace utils {
20 namespace config { class tree; }
21 -namespace datetime { class delta; }
22 +namespace datetime { struct delta; }
23 namespace fs { class path; }
24 namespace units { class bytes; }
25 } // namespace utils
26 @@ -73,7 +79,7 @@ class metadata {
27 struct impl;
29 /// Pointer to the shared internal implementation.
30 - std::tr1::shared_ptr< impl > _pimpl;
31 + shared_ptr< impl > _pimpl;
33 friend class metadata_builder;