1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
|
From: Paul Zander <negril.nx+gentoo@gmail.com>
Date: Wed, 23 Oct 2024 01:04:16 +0200
Subject: template-id-cdtor
warning: template-id not allowed for constructor in C++20 [-Wtemplate-id-cdtor]
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_concatenate.h
@@ -45,7 +45,7 @@ class StringTypeAdapter<char> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<char>(char buffer) : buffer_(buffer) {}
+ explicit StringTypeAdapter(char buffer) : buffer_(buffer) {}
unsigned length() const { return 1; }
bool Is8Bit() const { return true; }
@@ -62,7 +62,7 @@ class StringTypeAdapter<LChar> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<LChar>(LChar buffer) : buffer_(buffer) {}
+ explicit StringTypeAdapter(LChar buffer) : buffer_(buffer) {}
unsigned length() const { return 1; }
bool Is8Bit() const { return true; }
@@ -79,7 +79,7 @@ class StringTypeAdapter<UChar> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<UChar>(UChar buffer) : buffer_(buffer) {}
+ explicit StringTypeAdapter(UChar buffer) : buffer_(buffer) {}
unsigned length() const { return 1; }
bool Is8Bit() const { return buffer_ <= 0xff; }
@@ -100,7 +100,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<char*>(char* buffer)
+ explicit StringTypeAdapter(char* buffer)
: StringTypeAdapter(buffer, strlen(buffer)) {}
unsigned length() const { return length_; }
@@ -110,7 +110,7 @@ class WTF_EXPORT StringTypeAdapter<char*> {
void WriteTo(UChar* destination) const;
private:
- StringTypeAdapter<char*>(char* buffer, size_t length);
+ StringTypeAdapter(char* buffer, size_t length);
const char* buffer_;
unsigned length_;
@@ -121,7 +121,7 @@ class WTF_EXPORT StringTypeAdapter<LChar*> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<LChar*>(LChar* buffer);
+ explicit StringTypeAdapter(LChar* buffer);
unsigned length() const { return length_; }
bool Is8Bit() const { return true; }
@@ -157,7 +157,7 @@ class WTF_EXPORT StringTypeAdapter<const char*> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<const char*>(const char* buffer);
+ explicit StringTypeAdapter(const char* buffer);
unsigned length() const { return length_; }
bool Is8Bit() const { return true; }
@@ -175,7 +175,7 @@ class WTF_EXPORT StringTypeAdapter<const LChar*> {
DISALLOW_NEW();
public:
- explicit StringTypeAdapter<const LChar*>(const LChar* buffer);
+ explicit StringTypeAdapter(const LChar* buffer);
unsigned length() const { return length_; }
bool Is8Bit() const { return true; }
--- a/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
+++ b/src/3rdparty/chromium/third_party/blink/renderer/platform/wtf/text/string_operators.h
@@ -115,7 +115,7 @@ class StringTypeAdapter<StringAppend<StringType1, StringType2>> {
STACK_ALLOCATED();
public:
- StringTypeAdapter<StringAppend<StringType1, StringType2>>(
+ StringTypeAdapter(
const StringAppend<StringType1, StringType2>& buffer)
: buffer_(buffer) {}
|