@@ -356,14 +356,6 @@ inline v8::Local<v8::String> FIXED_ONE_BYTE_STRING(v8::Isolate* isolate,
|
356 | 356 | return OneByteString(isolate, data, N - 1); |
357 | 357 | } |
358 | 358 | |
359 | | -template <std::size_t N> |
360 | | -requires(N > 0) |
361 | | -inline v8::Local<v8::String> FIXED_ONE_BYTE_STRING( |
362 | | - v8::Isolate* isolate, const std::array<char, N>& arr) { |
363 | | -CHECK_EQ(arr[N - 1], '\0'); |
364 | | -return OneByteString(isolate, arr.data(), N - 1); |
365 | | -} |
366 | | - |
367 | 359 | // tolower() is locale-sensitive. Use ToLower() instead. |
368 | 360 | inline char ToLower(char c); |
369 | 361 | inline std::string ToLower(const std::string& in); |
|