From 382cbd2db33a5980b63a69393594df8b49b0a238 Mon Sep 17 00:00:00 2001 From: Erik Schnetter Date: Wed, 14 Feb 2007 17:26:00 +0000 Subject: CarpetLib: Instantiate data::operator<< correctly Instantiate data::operator<< for all T, not only for CCTK_REAL. darcs-hash:20070214172622-dae7b-c920d63bc92cc6d6a102f3b20a38317c7b642f92.gz --- Carpet/CarpetLib/src/data.cc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'Carpet/CarpetLib/src') diff --git a/Carpet/CarpetLib/src/data.cc b/Carpet/CarpetLib/src/data.cc index 5b119acc4..20768866d 100644 --- a/Carpet/CarpetLib/src/data.cc +++ b/Carpet/CarpetLib/src/data.cc @@ -940,10 +940,9 @@ ostream & operator << (ostream & os, const data & d) -#define INSTANTIATE(T) \ -template class data; -template -ostream & operator << (ostream & os, data const & d); +#define INSTANTIATE(T) \ +template class data; \ +template \ +ostream & operator << (ostream & os, data const & d); #include "instantiate" - #undef INSTANTIATE -- cgit v1.2.3