Skip to content

Commit c76ca59

Browse files
committed
adding static_assert for dbModIterm
Signed-off-by: Ethan Mahintorabi <[email protected]>
1 parent a16b965 commit c76ca59

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/odb/src/db/dbModITerm.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,7 @@ bool _dbModITerm::operator<(const _dbModITerm& rhs) const
5757

5858
_dbModITerm::_dbModITerm(_dbDatabase* db)
5959
{
60+
static_assert(alignof(_dbModITerm) % 8 == 0);
6061
_name = nullptr;
6162
}
6263

0 commit comments

Comments
 (0)