1
0
mirror of https://github.com/momo5502/hypervisor.git synced 2025-09-04 16:07:25 +00:00

Fix formatting

This commit is contained in:
momo5502
2022-04-23 22:45:56 +02:00
parent 90e2c262ad
commit 965dd3a5bc
20 changed files with 177 additions and 164 deletions

View File

@@ -9,8 +9,7 @@ driver_device::driver_device(const std::string& driver_device)
nullptr,
OPEN_EXISTING,
NULL,
nullptr
);
nullptr);
if (!this->device_)
{
@@ -35,7 +34,7 @@ bool driver_device::send(const DWORD ioctl_code, const data& input, data& output
static_cast<DWORD>(output.size()),
&size_returned,
nullptr
) != FALSE;
) != FALSE;
if (success && size_returned < output.size())
{

View File

@@ -2,7 +2,6 @@
#include <conio.h>
#include "std_include.hpp"
#include "finally.hpp"
#include "driver.hpp"
#include "driver_device.hpp"

View File

@@ -46,4 +46,4 @@ native_handle::operator HANDLE() const
native_handle::operator bool() const
{
return this->handle_ != INVALID_HANDLE_VALUE;
}
}