[mammoth] Update EndpointServer to have move-only semantics.
This commit is contained in:
parent
16c30d12fb
commit
2e89aee5a3
8 changed files with 40 additions and 29 deletions
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
class DenaliServer {
|
||||
public:
|
||||
DenaliServer(EndpointServer server, AhciDriver& driver);
|
||||
DenaliServer(glcr::UniquePtr<EndpointServer> server, AhciDriver& driver);
|
||||
|
||||
glcr::ErrorCode RunServer();
|
||||
|
||||
|
|
@ -17,7 +17,7 @@ class DenaliServer {
|
|||
|
||||
private:
|
||||
static const uint64_t kBuffSize = 1024;
|
||||
EndpointServer server_;
|
||||
glcr::UniquePtr<EndpointServer> server_;
|
||||
uint8_t read_buffer_[kBuffSize];
|
||||
|
||||
AhciDriver& driver_;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue