chore: remove unused gin::Converter<char[]>::ToV8(isolate, const char*) (#44568)
No longer needed after #44498
This commit is contained in:
parent
adbd25f699
commit
2002472b10
1 changed files with 0 additions and 8 deletions
|
@ -54,14 +54,6 @@ struct Converter<std::nullptr_t> {
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
template <>
|
|
||||||
struct Converter<char[]> {
|
|
||||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, const char* val) {
|
|
||||||
return v8::String::NewFromUtf8(isolate, val, v8::NewStringType::kNormal)
|
|
||||||
.ToLocalChecked();
|
|
||||||
}
|
|
||||||
};
|
|
||||||
|
|
||||||
template <size_t N>
|
template <size_t N>
|
||||||
struct Converter<char[N]> {
|
struct Converter<char[N]> {
|
||||||
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, const char (&val)[N]) {
|
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, const char (&val)[N]) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue