Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / lutok / patches / patch-debug.hpp
blob56d3d0dcbdd85921278e2e199b2b4e99fd114c5d
1 $NetBSD$
3 --- debug.hpp.orig 2013-04-30 22:44:05.000000000 +0000
4 +++ debug.hpp
5 @@ -33,8 +33,11 @@
6 #define LUTOK_DEBUG_HPP
8 #include <string>
9 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
10 +#include <memory>
11 +#else
12 #include <tr1/memory>
14 +#endif
16 namespace lutok {
18 @@ -56,7 +59,11 @@ class debug {
19 struct impl;
21 /// Pointer to the shared internal implementation.
22 +#if defined(_LIBCPP_VERSION) || __cplusplus >= 201103L
23 + std::shared_ptr< impl > _pimpl;
24 +#else
25 std::tr1::shared_ptr< impl > _pimpl;
26 +#endif
28 public:
29 debug(void);