Use class instead of struct for IpConfigBuilder
This commit is contained in:
parent
e441f3d42b
commit
7530bf9246
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,8 @@
|
|||
|
||||
namespace anbox {
|
||||
namespace android {
|
||||
struct IpConfigBuilder {
|
||||
class IpConfigBuilder {
|
||||
public:
|
||||
enum class Version : std::uint32_t {
|
||||
Version1 = 1,
|
||||
Version2 = 2,
|
||||
|
|
@ -37,6 +38,8 @@ struct IpConfigBuilder {
|
|||
DHCP,
|
||||
};
|
||||
|
||||
IpConfigBuilder() = default;
|
||||
|
||||
std::size_t write(common::BinaryWriter &writer);
|
||||
|
||||
void set_version(const Version &version);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue