mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-04-19 13:42:55 +00:00
Fix formatting
This commit is contained in:
parent
4ec4055e4b
commit
c58f6c9742
@ -90,7 +90,8 @@ namespace
|
||||
});
|
||||
|
||||
memcpy(buffer.get(), request.source_data, request.source_data_size);
|
||||
translation_hints = generate_translation_hints(request.process_id, request.target_address, request.source_data_size);
|
||||
translation_hints = generate_translation_hints(request.process_id, request.target_address,
|
||||
request.source_data_size);
|
||||
|
||||
if (!translation_hints)
|
||||
{
|
||||
|
@ -135,11 +135,20 @@ namespace std
|
||||
|
||||
|
||||
template <class T>
|
||||
struct remove_extent { typedef T type; };
|
||||
struct remove_extent
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
template <class T>
|
||||
struct remove_extent<T[]> { typedef T type; };
|
||||
struct remove_extent<T[]>
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
|
||||
template <class T, std::size_t N>
|
||||
struct remove_extent<T[N]> { typedef T type; };
|
||||
struct remove_extent<T[N]>
|
||||
{
|
||||
typedef T type;
|
||||
};
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user