File tree Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Expand file tree Collapse file tree 1 file changed +0
-9
lines changed Original file line number Diff line number Diff line change @@ -553,11 +553,6 @@ class Utf8Value : public MaybeStackBuffer<char> {
553
553
public:
554
554
explicit Utf8Value (v8::Isolate* isolate, v8::Local<v8::Value> value);
555
555
556
- inline std::string ToString () const { return std::string (out (), length ()); }
557
- inline std::string_view ToStringView () const {
558
- return std::string_view (out (), length ());
559
- }
560
-
561
556
inline bool operator ==(const char * a) const { return strcmp (out (), a) == 0 ; }
562
557
inline bool operator !=(const char * a) const { return !(*this == a); }
563
558
};
@@ -571,10 +566,6 @@ class BufferValue : public MaybeStackBuffer<char> {
571
566
public:
572
567
explicit BufferValue (v8::Isolate* isolate, v8::Local<v8::Value> value);
573
568
574
- inline std::string ToString () const { return std::string (out (), length ()); }
575
- inline std::string_view ToStringView () const {
576
- return std::string_view (out (), length ());
577
- }
578
569
inline std::u8string_view ToU8StringView () const {
579
570
return std::u8string_view (reinterpret_cast <const char8_t *>(out ()),
580
571
length ());
You can’t perform that action at this time.
0 commit comments