mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-06-01 07:18:22 -04:00
ams: use R_SUCCEED, R_THROW globally
This commit is contained in:
parent
e5b1739f65
commit
dd78ede99f
370 changed files with 2107 additions and 2107 deletions
|
@ -158,7 +158,7 @@ namespace ams::time::impl::util {
|
|||
R_UNLESS(from.source_id == to.source_id, time::ResultNotComparable());
|
||||
|
||||
R_UNLESS(ams::util::TrySubtractWithoutOverflow(out, to.value, from.value), time::ResultOverflowed());
|
||||
return ResultSuccess();
|
||||
R_SUCCEED();
|
||||
}
|
||||
|
||||
bool IsValidDate(int year, int month, int day) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue