From 875475cb4866ffc1051845602f34ed2fbef90545 Mon Sep 17 00:00:00 2001 From: Francois Gygi Date: Sat, 27 Jan 2007 23:53:44 +0000 Subject: [PATCH] Corrected constness of some member functions. git-svn-id: http://qboxcode.org/svn/qb/trunk@487 cba15fb0-1239-40c8-b417-11db7ca47a34 --- src/Wavefunction.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/Wavefunction.h b/src/Wavefunction.h index a94b93a..4d98ab0 100644 --- a/src/Wavefunction.h +++ b/src/Wavefunction.h @@ -3,7 +3,7 @@ // Wavefunction.h // //////////////////////////////////////////////////////////////////////////////// -// $Id: Wavefunction.h,v 1.13 2004-09-14 22:24:11 fgygi Exp $ +// $Id: Wavefunction.h,v 1.14 2007-01-27 23:53:44 fgygi Exp $ #ifndef WAVEFUNCTION_H #define WAVEFUNCTION_H @@ -101,11 +101,11 @@ class Wavefunction double dot(const Wavefunction& wf) const; - void print(ostream& os, string encoding, string tag); + void print(ostream& os, string encoding, string tag) const; #if USE_CSTDIO_LFS - void write(FILE* outfile, string encoding, string tag); + void write(FILE* outfile, string encoding, string tag) const; #endif - void info(ostream& os, string tag); + void info(ostream& os, string tag) const; }; -ostream& operator << ( ostream& os, Wavefunction& wf ); +ostream& operator << ( ostream& os, const Wavefunction& wf ); #endif -- libgit2 0.26.0