mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 19:57:44 +00:00
HexEditor: Prefer ErrorOr to Result in FindDialog
This commit is contained in:
parent
a42cf020ea
commit
b330d83be4
2 changed files with 9 additions and 17 deletions
|
@ -25,7 +25,7 @@ public:
|
|||
static ErrorOr<NonnullRefPtr<FindDialog>> try_create();
|
||||
|
||||
private:
|
||||
Result<ByteBuffer, String> process_input(String text_value, OptionId opt);
|
||||
static ErrorOr<ByteBuffer> process_input(StringView text_value, OptionId opt);
|
||||
|
||||
String text_value() const { return m_text_value; }
|
||||
OptionId selected_option() const { return m_selected_option; }
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue