From 5d0b71fc3af1c09f88d4bb9373ddca26103c047b Mon Sep 17 00:00:00 2001 From: Harry Moffat Date: Tue, 7 Mar 2006 20:47:29 +0000 Subject: [PATCH] Solaris warns about templated static functions. --- Cantera/src/oneD/refine.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/Cantera/src/oneD/refine.cpp b/Cantera/src/oneD/refine.cpp index 5626e93a3..c679b9874 100644 --- a/Cantera/src/oneD/refine.cpp +++ b/Cantera/src/oneD/refine.cpp @@ -15,9 +15,8 @@ using namespace std; namespace Cantera { - template - static bool has_key(const M& m, int j) { + bool has_key(const M& m, int j) { if (m.find(j) != m.end()) return true; return false; }