mirror of
https://github.com/momo5502/hypervisor.git
synced 2025-04-19 05:32:55 +00:00
Cleanup
This commit is contained in:
parent
3b8a02b8fb
commit
90e2c262ad
@ -78,10 +78,10 @@ inline uint64_t operator"" _kb(const uint64_t size)
|
||||
|
||||
inline uint64_t operator"" _mb(const uint64_t size)
|
||||
{
|
||||
return operator"" _kb(size * 1024);
|
||||
return size * 1024_kb;
|
||||
}
|
||||
|
||||
inline uint64_t operator"" _gb(const uint64_t size)
|
||||
{
|
||||
return operator"" _mb(size * 1024);
|
||||
return size * 1024_mb;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user