Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-store_transaction.hpp
blob93c82b62239bc4a659078b0aaf4566df954fe7b0
1 $NetBSD$
3 --- store/transaction.hpp.orig 2013-05-06 08:16:11.000000000 +0000
4 +++ store/transaction.hpp
5 @@ -37,7 +37,13 @@ extern "C" {
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
16 #include <utility>
18 #include "engine/test_program.hpp"
19 @@ -77,10 +83,10 @@ class results_iterator {
20 struct impl;
22 /// Pointer to the shared internal implementation.
23 - std::tr1::shared_ptr< impl > _pimpl;
24 + shared_ptr< impl > _pimpl;
26 friend class transaction;
27 - results_iterator(std::tr1::shared_ptr< impl >);
28 + results_iterator(shared_ptr< impl >);
30 public:
31 ~results_iterator(void);
32 @@ -106,7 +112,7 @@ class transaction {
33 struct impl;
35 /// Pointer to the shared internal implementation.
36 - std::tr1::shared_ptr< impl > _pimpl;
37 + shared_ptr< impl > _pimpl;
39 friend class backend;
40 transaction(backend&);