projects
/
cvc5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
36f18a8
)
Initializes NodeTheoryPair::timestamp in the default constructor. (#1356)
author
Tim King
<taking@cs.nyu.edu>
Tue, 14 Nov 2017 02:55:49 +0000
(18:55 -0800)
committer
Andrew Reynolds
<andrew.j.reynolds@gmail.com>
Tue, 14 Nov 2017 02:55:49 +0000
(20:55 -0600)
src/theory/theory_engine.h
patch
|
blob
|
history
diff --git
a/src/theory/theory_engine.h
b/src/theory/theory_engine.h
index 6fd7e9e78655bf880bc22b3cf3405af899c6106d..9afd4e5d9ce3ad5821c1afea2cf892b91763fd0d 100644
(file)
--- a/
src/theory/theory_engine.h
+++ b/
src/theory/theory_engine.h
@@
-63,8
+63,7
@@
struct NodeTheoryPair {
size_t timestamp;
NodeTheoryPair(TNode node, theory::TheoryId theory, size_t timestamp = 0)
: node(node), theory(theory), timestamp(timestamp) {}
- NodeTheoryPair()
- : theory(theory::THEORY_LAST) {}
+ NodeTheoryPair() : theory(theory::THEORY_LAST), timestamp() {}
// Comparison doesn't take into account the timestamp
bool operator == (const NodeTheoryPair& pair) const {
return node == pair.node && theory == pair.theory;