mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 23:37:36 +00:00
DHCPClient: Replace Result<T, E> use with ErrorOr<T>
This commit is contained in:
parent
d1477bcb8e
commit
fbbb87d517
2 changed files with 6 additions and 9 deletions
|
@ -7,9 +7,9 @@
|
|||
#pragma once
|
||||
|
||||
#include "DHCPv4.h"
|
||||
#include <AK/Error.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
#include <AK/Result.h>
|
||||
#include <AK/String.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <LibCore/UDPServer.h>
|
||||
|
@ -53,7 +53,7 @@ public:
|
|||
Vector<InterfaceDescriptor> ready;
|
||||
Vector<InterfaceDescriptor> not_ready;
|
||||
};
|
||||
static Result<Interfaces, String> get_discoverable_interfaces();
|
||||
static ErrorOr<Interfaces> get_discoverable_interfaces();
|
||||
|
||||
private:
|
||||
explicit DHCPv4Client();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue