aboutsummaryrefslogtreecommitdiff
path: root/Carpet/CarpetLib/src/th.hh
diff options
context:
space:
mode:
authoreschnett <>2001-03-27 20:26:00 +0000
committereschnett <>2001-03-27 20:26:00 +0000
commite38a471f8346adf93d4cf7f2157eb4909403de55 (patch)
tree1d57cbc8731a1aabc779da152cdeddb9952b608f /Carpet/CarpetLib/src/th.hh
parente212f3431b22ec41ac3e0a5c86f9d0cc2c812376 (diff)
Made Carpet compile on IRIX.
darcs-hash:20010327202631-f6438-d70466b15bf2224f3ce20968622c77a3cca37a73.gz
Diffstat (limited to 'Carpet/CarpetLib/src/th.hh')
-rw-r--r--Carpet/CarpetLib/src/th.hh12
1 files changed, 10 insertions, 2 deletions
diff --git a/Carpet/CarpetLib/src/th.hh b/Carpet/CarpetLib/src/th.hh
index 7c39a7d18..7abb657a5 100644
--- a/Carpet/CarpetLib/src/th.hh
+++ b/Carpet/CarpetLib/src/th.hh
@@ -6,7 +6,7 @@
copyright : (C) 2000 by Erik Schnetter
email : schnetter@astro.psu.edu
- $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/th.hh,v 1.2 2001/03/22 18:42:06 eschnett Exp $
+ $Header: /home/eschnett/C/carpet/Carpet/Carpet/CarpetLib/src/th.hh,v 1.3 2001/03/27 22:26:31 eschnett Exp $
***************************************************************************/
@@ -99,11 +99,19 @@ public:
}
// Output
- friend ostream& operator<< <> (ostream& os, const th& d);
+ void output (ostream& os) const;
};
+template<int D>
+ostream& operator<< (ostream& os, const th<D>& t) {
+ t.output(os);
+ return os;
+}
+
+
+
#if defined(TMPL_IMPLICIT)
# include "th.cc"
#endif