mirror of
https://github.com/pocoproject/poco.git
synced 2024-12-12 18:20:26 +01:00
Merge pull request #4088 from Romain-Geissler-1A/fix-typos
Fix typos in #4086 and #4087.
This commit is contained in:
commit
aabc8907b6
@ -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
|
||||
{
|
||||
|
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user