Solaris warns about templated static functions.
This commit is contained in:
parent
96a988c2b1
commit
5d0b71fc3a
1 changed files with 1 additions and 2 deletions
|
|
@ -15,9 +15,8 @@ using namespace std;
|
|||
|
||||
namespace Cantera {
|
||||
|
||||
|
||||
template<class M>
|
||||
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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue