mirror of https://github.com/QMCPACK/qmcpack.git
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:
parent
5f7279e379
commit
a9fddc5228
|
@ -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
|
||||
/***************************************************************************
|
||||
|
|
Loading…
Reference in New Issue