We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6b592fe commit 7fa8341Copy full SHA for 7fa8341
src/odb/src/db/dbDatabase.cpp
@@ -706,13 +706,13 @@ dbTech* dbDatabase::getTech()
706
707
void dbDatabase::setHierarchy(bool value)
708
{
709
- _dbDatabase* db = (_dbDatabase*) this;
+ _dbDatabase* db = reinterpret_cast<_dbDatabase*>(this);
710
db->hierarchy_ = value;
711
}
712
713
bool dbDatabase::hasHierarchy() const
714
715
+ const _dbDatabase* db = reinterpret_cast<const _dbDatabase*>(this);
716
return db->hierarchy_;
717
718
0 commit comments