Skip to content

Commit 0aa115c

Browse files
committed
adding comment to static_assert
Signed-off-by: Ethan Mahintorabi <[email protected]>
1 parent c76ca59 commit 0aa115c

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+
// For pointer tagging the bottom 3 bits.
6061
static_assert(alignof(_dbModITerm) % 8 == 0);
6162
_name = nullptr;
6263
}

0 commit comments

Comments
 (0)