Skip to content

Commit

Permalink
Fix build with clang
Browse files Browse the repository at this point in the history
  • Loading branch information
nhusung authored and SSoelvsten committed May 1, 2024
1 parent 3bb80e4 commit da344ff
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/calObj.hh
Original file line number Diff line number Diff line change
Expand Up @@ -1201,7 +1201,7 @@ public:
std::vector<Cal_Bdd> c_arg =
BDD::C_Bdd_vector(this->_bddManager, std::move(begin), std::move(end));

const BDD res = Cal_BddMultiwayAnd(this->_bddManager, c_arg.data());
const BDD res(this->_bddManager, Cal_BddMultiwayAnd(this->_bddManager, c_arg.data()));

BDD::Free(this->_bddManager, c_arg.begin(), c_arg.end());

Expand Down Expand Up @@ -1242,7 +1242,7 @@ public:
std::vector<Cal_Bdd> c_arg =
BDD::C_Bdd_vector(this->_bddManager, std::move(begin), std::move(end));

const BDD res = Cal_BddMultiwayOr(this->_bddManager, c_arg.data());
const BDD res(this->_bddManager, Cal_BddMultiwayOr(this->_bddManager, c_arg.data()));

BDD::Free(this->_bddManager, c_arg.begin(), c_arg.end());

Expand Down Expand Up @@ -1283,7 +1283,7 @@ public:
std::vector<Cal_Bdd> c_arg =
BDD::C_Bdd_vector(this->_bddManager, std::move(begin), std::move(end));

const BDD res = Cal_BddMultiwayXor(this->_bddManager, c_arg.data());
const BDD res(this->_bddManager, Cal_BddMultiwayXor(this->_bddManager, c_arg.data()));

BDD::Free(this->_bddManager, c_arg.begin(), c_arg.end());

Expand Down

0 comments on commit da344ff

Please sign in to comment.