]> granicus.if.org Git - graphviz/commitdiff
replace forward declaration of PairingHeap with include of its header
authorMatthew Fernandez <matthew.fernandez@gmail.com>
Sat, 12 Jun 2021 20:28:47 +0000 (13:28 -0700)
committerMatthew 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

index 9055c14e579bf91c689c1b8c730a89cae0a840fd..3a5129b7b0ea3702d2aba8100237ff7e30676aad 100644 (file)
@@ -21,9 +21,9 @@
 
 #include <vector>
 #include <iostream>
+#include <vpsc/pairingheap/PairingHeap.h>
 struct Variable;
 struct Constraint;
-template <class T> class PairingHeap;
 
 class Block
 {