Add a function so that the compile can proceed.

git-svn-id: https://subversion.assembla.com/svn/qmcdev/trunk@2552 e5b18d87-469d-4833-9cc0-8cdfa06e9491
This commit is contained in:
Jeongnim Kim 2008-03-26 20:17:43 +00:00
parent 5f7279e379
commit a9fddc5228
1 changed files with 7 additions and 0 deletions

View File

@ -39,6 +39,13 @@ struct VarRegistry: public std::map<std::string,T> {
}
}
//add an function not
inline int addVariable(const std::string& vname, T val)
{
this->operator[](vname)=val;
return this->size();
}
};
#endif
/***************************************************************************