]> git.proxmox.com Git - ceph.git/blob - ceph/src/jaegertracing/opentelemetry-cpp/tools/vcpkg/ports/opentracing/repair_mojibake.patch
update ceph source to reef 18.1.2
[ceph.git] / ceph / src / jaegertracing / opentelemetry-cpp / tools / vcpkg / ports / opentracing / repair_mojibake.patch
1 From 31c92781ac953cb83963cfe5ac30324579fa7b2d Mon Sep 17 00:00:00 2001
2 From: Billy Robert O'Neal III <bion@microsoft.com>
3 Date: Fri, 18 Dec 2020 10:07:02 -0800
4 Subject: [PATCH] Repair mojibake in expected.hpp
5
6 The affected characters herein triggered warnings
7 C:\Dev\vcpkg\buildtrees\opentracing\src\b67575dab0-0250653c81.clean\3rd_party\include\opentracing/expected/expected.hpp(1): warning C4828: The file contains a character starting at offset 0x4a77 that is illegal in the current source character set (codepage 65001).
8 ---
9 3rd_party/include/opentracing/expected/expected.hpp | 12 ++++++------
10 1 file changed, 6 insertions(+), 6 deletions(-)
11
12 diff --git a/3rd_party/include/opentracing/expected/expected.hpp b/3rd_party/include/opentracing/expected/expected.hpp
13 index 8283a77..0d21d43 100644
14 --- a/3rd_party/include/opentracing/expected/expected.hpp
15 +++ b/3rd_party/include/opentracing/expected/expected.hpp
16 @@ -778,13 +778,13 @@ class expected
17 // expected<decltype(func(declval<T>())),E> map(F&& func) ;
18
19 // template <typename F>
20 -// \92see below\92 bind(F&& func);
21 +// 'see below' bind(F&& func);
22
23 // template <typename F>
24 // expected<T,E> catch_error(F&& f);
25
26 // template <typename F>
27 -// \92see below\92 then(F&& func);
28 +// 'see below' then(F&& func);
29
30 private:
31 bool has_value_;
32 @@ -955,9 +955,9 @@ class expected<void, E>
33 return ! has_value() && std::is_base_of< Ex, decltype( get_unexpected().value() ) >::value;
34 }
35
36 -// template constexpr \92see below\92 unwrap() const&;
37 +// template constexpr 'see below' unwrap() const&;
38 //
39 -// template \92see below\92 unwrap() &&;
40 +// template 'see below' unwrap() &&;
41
42 // factories
43
44 @@ -968,13 +968,13 @@ class expected<void, E>
45 // expected<decltype(func()), E> map(F&& func) ;
46 //
47 // template <typename F>
48 -// \92see below\92 bind(F&& func) ;
49 +// 'see below' bind(F&& func) ;
50 //
51 // template <typename F>
52 // expected<void,E> catch_error(F&& f);
53 //
54 // template <typename F>
55 -// \92see below\92 then(F&& func);
56 +// 'see below' then(F&& func);
57
58 private:
59 bool has_value_;