Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-utils_sqlite_transaction.hpp
blobbe26f0ab4354ce2a5d2b009133c4a880038a1912
1 $NetBSD$
3 --- utils/sqlite/transaction.hpp.orig 2013-05-06 08:10:32.000000000 +0000
4 +++ utils/sqlite/transaction.hpp
5 @@ -32,7 +32,14 @@
6 #if !defined(UTILS_SQLITE_TRANSACTION_HPP)
7 #define UTILS_SQLITE_TRANSACTION_HPP
9 +#include <ciso646>
10 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
11 +#include <memory>
12 +using std::shared_ptr;
13 +#else
14 #include <tr1/memory>
15 +using std::tr1::shared_ptr;
16 +#endif
18 namespace utils {
19 namespace sqlite {
20 @@ -49,7 +56,7 @@ class transaction {
21 struct impl;
23 /// Pointer to the shared internal implementation.
24 - std::tr1::shared_ptr< impl > _pimpl;
25 + shared_ptr< impl > _pimpl;
27 explicit transaction(database&);
28 friend class database;