diff options
author | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-14 17:26:00 +0000 |
---|---|---|
committer | Erik Schnetter <schnetter@cct.lsu.edu> | 2007-02-14 17:26:00 +0000 |
commit | 382cbd2db33a5980b63a69393594df8b49b0a238 (patch) | |
tree | 5c9910009648d676d8db3fae2d5d19710d3053e3 /Carpet/CarpetLib/src | |
parent | 35d69645010c3e6d13f6ca2a209f8d6d2c58cf30 (diff) |
CarpetLib: Instantiate data<T>::operator<< correctly
Instantiate data<T>::operator<< for all T, not only for CCTK_REAL.
darcs-hash:20070214172622-dae7b-c920d63bc92cc6d6a102f3b20a38317c7b642f92.gz
Diffstat (limited to 'Carpet/CarpetLib/src')
-rw-r--r-- | Carpet/CarpetLib/src/data.cc | 9 |
1 files changed, 4 insertions, 5 deletions
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<T> & d) -#define INSTANTIATE(T) \ -template class data<T>; -template -ostream & operator << <CCTK_REAL> (ostream & os, data<CCTK_REAL> const & d); +#define INSTANTIATE(T) \ +template class data<T>; \ +template \ +ostream & operator << <T> (ostream & os, data<T> const & d); #include "instantiate" - #undef INSTANTIATE |