mirror of
https://github.com/pocoproject/poco.git
synced 2025-04-01 17:25:03 +02:00
parent
346ec77dbd
commit
5fb67c452a
@ -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…
x
Reference in New Issue
Block a user