From 8325c3b5daa5daa666898b28d6138ee709ac51aa Mon Sep 17 00:00:00 2001 From: Dave Goodwin Date: Mon, 21 Apr 2003 11:54:42 +0000 Subject: [PATCH] *** empty log message *** --- Cantera/src/ChemEquil.cpp | 2 +- Cantera/src/ChemEquil.h | 4 ++-- Makefile.in | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Cantera/src/ChemEquil.cpp b/Cantera/src/ChemEquil.cpp index 0f4175ef7..47b752d9d 100755 --- a/Cantera/src/ChemEquil.cpp +++ b/Cantera/src/ChemEquil.cpp @@ -33,7 +33,7 @@ using namespace std; namespace Cantera { - int _equilflag(char* xy) { + int _equilflag(const char* xy) { string flag = string(xy); if (flag == "TP") return TP; else if (flag == "TV") return TV; diff --git a/Cantera/src/ChemEquil.h b/Cantera/src/ChemEquil.h index 577c1cea8..b8087ca5b 100755 --- a/Cantera/src/ChemEquil.h +++ b/Cantera/src/ChemEquil.h @@ -32,7 +32,7 @@ using namespace std; namespace Cantera { - int _equilflag(char* xy); + int _equilflag(const char* xy); /** * Chemical equilibrium options. Used internally by class ChemEquil. @@ -163,7 +163,7 @@ namespace Cantera { * determines the two properties that will be held fixed in the * calculation. */ - inline void equilibrate(thermo_t& s, char* XY) { + inline void equilibrate(thermo_t& s, const char* XY) { ChemEquil e; e.equilibrate(s,_equilflag(XY)); } diff --git a/Makefile.in b/Makefile.in index 2e81df4a7..a141df6b8 100755 --- a/Makefile.in +++ b/Makefile.in @@ -57,8 +57,8 @@ tools-install: cd tools; @MAKE@ install hdr-install: - @INSTALL@ -d @prefix@/include/cantera - cp -r -f build/include/cantera @prefix@/include/cantera + @INSTALL@ -d @prefix@/include + cp -r -f build/include/cantera @prefix@/include hdr-collect: @INSTALL@ -d build/include/cantera