| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent d1fb8a5 commit 1289ef8
1 file changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -552,11 +552,6 @@ class Utf8Value : public MaybeStackBuffer<char> { | |||
| 552 | 552 | public: | |
| 553 | 553 | explicit Utf8Value(v8::Isolate* isolate, v8::Local<v8::Value> value); | |
| 554 | 554 | ||
| 555 | - inline std::string ToString() const { return std::string(out(), length()); } | ||
| 556 | - inline std::string_view ToStringView() const { | ||
| 557 | - return std::string_view(out(), length()); | ||
| 558 | - } | ||
| 559 | - | ||
| 560 | 555 | inline bool operator==(const char* a) const { return strcmp(out(), a) == 0; } | |
| 561 | 556 | inline bool operator!=(const char* a) const { return !(*this == a); } | |
| 562 | 557 | }; | |
@@ -570,10 +565,6 @@ class BufferValue : public MaybeStackBuffer<char> { | |||
| 570 | 565 | public: | |
| 571 | 566 | explicit BufferValue(v8::Isolate* isolate, v8::Local<v8::Value> value); | |
| 572 | 567 | ||
| 573 | - inline std::string ToString() const { return std::string(out(), length()); } | ||
| 574 | - inline std::string_view ToStringView() const { | ||
| 575 | - return std::string_view(out(), length()); | ||
| 576 | - } | ||
| 577 | 568 | inline std::u8string_view ToU8StringView() const { | |
| 578 | 569 | return std::u8string_view(reinterpret_cast<const char8_t*>(out()), | |
| 579 | 570 | length()); | |
| Back | FazBrowse Home | New Git URL |
0 commit comments