mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Removed more warnings.
This commit is contained in:
@@ -87,6 +87,7 @@ void construct_at_boundary(int boundary)
|
||||
_buf += (16 - (_buf % 16)); // make 16-byte aligned
|
||||
_buf += boundary; // make exact boundary-aligned
|
||||
T *x = ::new(reinterpret_cast<void*>(_buf)) T;
|
||||
x[0]; // just in order to silence warnings
|
||||
x->~T();
|
||||
}
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user