Remove spaces to fix deprecation warning
This commit is contained in:
@@ -136,29 +136,29 @@ namespace OpenVulkano
|
||||
ByteSize& operator -=(const ByteSize other) { bytes -= other.bytes; return *this; }
|
||||
};
|
||||
|
||||
constexpr ByteSize operator"" _kiB(long double num) { return { num, ByteSizeUnit::kiB }; }
|
||||
constexpr ByteSize operator"" _MiB(long double num) { return { num, ByteSizeUnit::MiB }; }
|
||||
constexpr ByteSize operator"" _GiB(long double num) { return { num, ByteSizeUnit::GiB }; }
|
||||
constexpr ByteSize operator"" _TiB(long double num) { return { num, ByteSizeUnit::TiB }; }
|
||||
constexpr ByteSize operator"" _PiB(long double num) { return { num, ByteSizeUnit::PiB }; }
|
||||
constexpr ByteSize operator"" _EiB(long double num) { return { num, ByteSizeUnit::EiB }; }
|
||||
constexpr ByteSize operator"" _kB(long double num) { return { num, ByteSizeUnit::kB }; }
|
||||
constexpr ByteSize operator"" _MB(long double num) { return { num, ByteSizeUnit::MB }; }
|
||||
constexpr ByteSize operator"" _GB(long double num) { return { num, ByteSizeUnit::GB }; }
|
||||
constexpr ByteSize operator"" _TB(long double num) { return { num, ByteSizeUnit::TB }; }
|
||||
constexpr ByteSize operator"" _PB(long double num) { return { num, ByteSizeUnit::PB }; }
|
||||
constexpr ByteSize operator"" _EB(long double num) { return { num, ByteSizeUnit::EB }; }
|
||||
constexpr ByteSize operator"" _B(unsigned long long int num) { return { num }; }
|
||||
constexpr ByteSize operator"" _kiB(unsigned long long int num) { return { num << 10 }; }
|
||||
constexpr ByteSize operator"" _MiB(unsigned long long int num) { return { num << 20 }; }
|
||||
constexpr ByteSize operator"" _GiB(unsigned long long int num) { return { num << 30 }; }
|
||||
constexpr ByteSize operator"" _TiB(unsigned long long int num) { return { num << 40 }; }
|
||||
constexpr ByteSize operator"" _PiB(unsigned long long int num) { return { num << 50 }; }
|
||||
constexpr ByteSize operator"" _EiB(unsigned long long int num) { return { num << 60 }; }
|
||||
constexpr ByteSize operator"" _kB(unsigned long long int num) { return { num, ByteSizeUnit::kB }; }
|
||||
constexpr ByteSize operator"" _MB(unsigned long long int num) { return { num, ByteSizeUnit::MB }; }
|
||||
constexpr ByteSize operator"" _GB(unsigned long long int num) { return { num, ByteSizeUnit::GB }; }
|
||||
constexpr ByteSize operator"" _TB(unsigned long long int num) { return { num, ByteSizeUnit::TB }; }
|
||||
constexpr ByteSize operator"" _PB(unsigned long long int num) { return { num, ByteSizeUnit::PB }; }
|
||||
constexpr ByteSize operator"" _EB(unsigned long long int num) { return { num, ByteSizeUnit::EB }; }
|
||||
constexpr ByteSize operator""_kiB(long double num) { return { num, ByteSizeUnit::kiB }; }
|
||||
constexpr ByteSize operator""_MiB(long double num) { return { num, ByteSizeUnit::MiB }; }
|
||||
constexpr ByteSize operator""_GiB(long double num) { return { num, ByteSizeUnit::GiB }; }
|
||||
constexpr ByteSize operator""_TiB(long double num) { return { num, ByteSizeUnit::TiB }; }
|
||||
constexpr ByteSize operator""_PiB(long double num) { return { num, ByteSizeUnit::PiB }; }
|
||||
constexpr ByteSize operator""_EiB(long double num) { return { num, ByteSizeUnit::EiB }; }
|
||||
constexpr ByteSize operator""_kB (long double num) { return { num, ByteSizeUnit::kB }; }
|
||||
constexpr ByteSize operator""_MB (long double num) { return { num, ByteSizeUnit::MB }; }
|
||||
constexpr ByteSize operator""_GB (long double num) { return { num, ByteSizeUnit::GB }; }
|
||||
constexpr ByteSize operator""_TB (long double num) { return { num, ByteSizeUnit::TB }; }
|
||||
constexpr ByteSize operator""_PB (long double num) { return { num, ByteSizeUnit::PB }; }
|
||||
constexpr ByteSize operator""_EB (long double num) { return { num, ByteSizeUnit::EB }; }
|
||||
constexpr ByteSize operator""_B (unsigned long long int num) { return { num }; }
|
||||
constexpr ByteSize operator""_kiB(unsigned long long int num) { return { num << 10 }; }
|
||||
constexpr ByteSize operator""_MiB(unsigned long long int num) { return { num << 20 }; }
|
||||
constexpr ByteSize operator""_GiB(unsigned long long int num) { return { num << 30 }; }
|
||||
constexpr ByteSize operator""_TiB(unsigned long long int num) { return { num << 40 }; }
|
||||
constexpr ByteSize operator""_PiB(unsigned long long int num) { return { num << 50 }; }
|
||||
constexpr ByteSize operator""_EiB(unsigned long long int num) { return { num << 60 }; }
|
||||
constexpr ByteSize operator""_kB (unsigned long long int num) { return { num, ByteSizeUnit::kB }; }
|
||||
constexpr ByteSize operator""_MB (unsigned long long int num) { return { num, ByteSizeUnit::MB }; }
|
||||
constexpr ByteSize operator""_GB (unsigned long long int num) { return { num, ByteSizeUnit::GB }; }
|
||||
constexpr ByteSize operator""_TB (unsigned long long int num) { return { num, ByteSizeUnit::TB }; }
|
||||
constexpr ByteSize operator""_PB (unsigned long long int num) { return { num, ByteSizeUnit::PB }; }
|
||||
constexpr ByteSize operator""_EB (unsigned long long int num) { return { num, ByteSizeUnit::EB }; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user