projects
/
graphviz
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8d7d0e0
)
replace forward declaration of PairingHeap with include of its header
author
Matthew Fernandez
<matthew.fernandez@gmail.com>
Sat, 12 Jun 2021 20:28:47 +0000
(13:28 -0700)
committer
Matthew Fernandez
<matthew.fernandez@gmail.com>
Sat, 19 Jun 2021 19:24:07 +0000
(12:24 -0700)
There is no need to play these forward declaration tricks in this scenario.
Circular dependencies are not involved.
lib/vpsc/block.h
patch
|
blob
|
history
diff --git
a/lib/vpsc/block.h
b/lib/vpsc/block.h
index 9055c14e579bf91c689c1b8c730a89cae0a840fd..3a5129b7b0ea3702d2aba8100237ff7e30676aad 100644
(file)
--- a/
lib/vpsc/block.h
+++ b/
lib/vpsc/block.h
@@
-21,9
+21,9
@@
#include <vector>
#include <iostream>
+#include <vpsc/pairingheap/PairingHeap.h>
struct Variable;
struct Constraint;
-template <class T> class PairingHeap;
class Block
{