This commit is contained in:
momo5502
2022-04-24 21:23:54 +02:00
parent 3b8a02b8fb
commit 90e2c262ad
+2 -2
View File
@@ -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;
}