Merge pull request #4088 from Romain-Geissler-1A/fix-typos

Fix typos in #4086 and #4087.
This commit is contained in:
Günter Obiltschnig 2023-07-18 10:33:44 +02:00 committed by GitHub
commit aabc8907b6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -139,7 +139,7 @@ public:
private:
typedef std::max_align_t AlignerType;
static_assert(sizeof(AlignerType) >= SizeV + 1, "Aligner type is bigger than the actual storage, so SizeV should be made bigger otherwise you simply waste unused memory.");
static_assert(sizeof(AlignerType) <= SizeV + 1, "Aligner type is bigger than the actual storage, so SizeV should be made bigger otherwise you simply waste unused memory.");
void setLocal(bool local) const
{

View File

@ -361,7 +361,7 @@ protected:
if (from < 0)
throw RangeException("Value too small.");
checkUpperLimit<std::make_unsigned<F>,T>(from);
checkUpperLimit<std::make_unsigned_t<F>,T>(from);
to = static_cast<T>(from);
}