|
@@ -54,14 +54,6 @@ struct Converter<std::nullptr_t> {
|
|
|
}
|
|
|
};
|
|
|
|
|
|
-template <>
|
|
|
-struct Converter<const char*> {
|
|
|
- static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, const char* val) {
|
|
|
- return v8::String::NewFromUtf8(isolate, val, v8::NewStringType::kNormal)
|
|
|
- .ToLocalChecked();
|
|
|
- }
|
|
|
-};
|
|
|
-
|
|
|
template <>
|
|
|
struct Converter<char[]> {
|
|
|
static v8::Local<v8::Value> ToV8(v8::Isolate* isolate, const char* val) {
|