Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / devel / kyua-cli / patches / patch-engine_test__case.hpp
blob5bdc93c15a0292c37c7f262eb93648cfa70fd993
1 $NetBSD$
3 --- engine/test_case.hpp.orig 2013-05-06 08:06:18.000000000 +0000
4 +++ engine/test_case.hpp
5 @@ -34,7 +34,13 @@
7 #include <ostream>
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 "engine/metadata.hpp"
18 #include "utils/config/tree.hpp"
19 @@ -71,7 +77,7 @@ class test_case {
20 struct impl;
22 /// Pointer to the shared internal implementation.
23 - std::tr1::shared_ptr< impl > _pimpl;
24 + shared_ptr< impl > _pimpl;
26 public:
27 test_case(const std::string&, const test_program&,
28 @@ -96,7 +102,7 @@ std::ostream& operator<<(std::ostream&,
31 /// Pointer to a test case.
32 -typedef std::tr1::shared_ptr< test_case > test_case_ptr;
33 +typedef shared_ptr< test_case > test_case_ptr;
36 test_result debug_test_case(const test_case*, const utils::config::tree&,