Improve Clause constructor

This commit is contained in:
Tiago Gomes 2012-11-07 18:43:13 +00:00
parent 278f8f77f5
commit d2ae171bb5

View File

@ -67,7 +67,7 @@ typedef vector<Literal> Literals;
class Clause
{
public:
Clause (const ConstraintTree& ct) : constr_(ct) { }
Clause (const ConstraintTree& ct = ConstraintTree({})) : constr_(ct) { }
Clause (vector<vector<string>> names) : constr_(ConstraintTree (names)) { }