]> www.ginac.de Git - ginac.git/blobdiff - ginac/ptr.h
Fixed misprint in the delta tensor example.
[ginac.git] / ginac / ptr.h
index 4c4ea71d6bbfde7d70a1f0e563f29d9ef3c1d164..0c957d7c600bbf64fe71869fa16acac91c357fdf 100644 (file)
@@ -3,7 +3,7 @@
  *  Reference-counted pointer template. */
 
 /*
- *  GiNaC Copyright (C) 1999-2004 Johannes Gutenberg University Mainz, Germany
+ *  GiNaC Copyright (C) 1999-2005 Johannes Gutenberg University Mainz, Germany
  *
  *  This program is free software; you can redistribute it and/or modify
  *  it under the terms of the GNU General Public License as published by
@@ -142,6 +142,7 @@ public:
        inline friend std::ostream & operator<<(std::ostream & os, const ptr<T> & rhs)
        {
                os << rhs.p;
+               return os;
        }
 
 private: