Merge pull request #292 from wheremyfoodat/qt

clang-format Result headers
This commit is contained in:
wheremyfoodat 2023-09-27 14:45:57 +03:00 committed by GitHub
commit 929a20b181
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 17 additions and 18 deletions

View file

@ -10,6 +10,5 @@ namespace Result::Kernel {
DEFINE_HORIZON_RESULT(InvalidEnumValue, 1005, InvalidArgument, Permanent); DEFINE_HORIZON_RESULT(InvalidEnumValue, 1005, InvalidArgument, Permanent);
DEFINE_HORIZON_RESULT(InvalidHandle, 1015, InvalidArgument, Permanent); DEFINE_HORIZON_RESULT(InvalidHandle, 1015, InvalidArgument, Permanent);
static_assert(InvalidHandle == 0xD8E007F7, "conversion broken"); static_assert(InvalidHandle == 0xD8E007F7, "conversion broken");
}; }; // namespace Result::Kernel

View file

@ -11,4 +11,4 @@ namespace Result::OS {
DEFINE_HORIZON_RESULT(MisalignedSize, 1010, InvalidArgument, Usage); DEFINE_HORIZON_RESULT(MisalignedSize, 1010, InvalidArgument, Usage);
DEFINE_HORIZON_RESULT(OutOfRange, 1021, InvalidArgument, Usage); DEFINE_HORIZON_RESULT(OutOfRange, 1021, InvalidArgument, Usage);
DEFINE_HORIZON_RESULT(Timeout, 1022, StatusChanged, Info); DEFINE_HORIZON_RESULT(Timeout, 1022, StatusChanged, Info);
}; }; // namespace Result::OS