make isTrue optional and default to false

This commit is contained in:
Chris Cromer 2023-02-16 00:32:50 -03:00
parent 3dcfdf23e8
commit 5a884fa2a0
Signed by: cromer
GPG Key ID: FA91071797BEEEC2

View File

@ -37,7 +37,7 @@ namespace obelisk
{
}
Fact(obelisk::Entity leftEntity, obelisk::Entity rightEntity, obelisk::Verb verb, bool isTrue) :
Fact(obelisk::Entity leftEntity, obelisk::Entity rightEntity, obelisk::Verb verb, bool isTrue = false) :
id_(0),
leftEntity_(leftEntity),
rightEntity_(rightEntity),
@ -46,7 +46,11 @@ namespace obelisk
{
}
Fact(int id, obelisk::Entity leftEntity, obelisk::Entity rightEntity, obelisk::Verb verb, bool isTrue) :
Fact(int id,
obelisk::Entity leftEntity,
obelisk::Entity rightEntity,
obelisk::Verb verb,
bool isTrue = false) :
id_(id),
leftEntity_(leftEntity),
rightEntity_(rightEntity),