diff options
Diffstat (limited to 'src/expr/node.h')
-rw-r--r-- | src/expr/node.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/expr/node.h b/src/expr/node.h index 0f4b55d4a..9d852f195 100644 --- a/src/expr/node.h +++ b/src/expr/node.h @@ -52,6 +52,11 @@ class NodeManager; template <bool ref_count> class NodeTemplate; +// For some reason these are instantiated with different visibility in different modules?? +// Fix by making their instantiations explicit, here. +template <> CVC4ostream& CVC4ostream::operator<<(NodeTemplate<false> const& t) CVC4_PUBLIC; +template <> CVC4ostream& CVC4ostream::operator<<(NodeTemplate<true> const& t) CVC4_PUBLIC; + /** * Exception thrown during the type-checking phase, it can be * thrown by node.getType(). |