/* .......................................................................... */
template <typename T>
-Term Solver::mkValHelper(T t) const
+Term Solver::mkValHelper(const T& t) const
{
//////// all checks before this line
Node res = getNodeManager()->mkConst(t);
void checkMkTerm(Kind kind, uint32_t nchildren) const;
/** Helper for mk-functions that call d_nodeMgr->mkConst(). */
template <typename T>
- Term mkValHelper(T t) const;
+ Term mkValHelper(const T& t) const;
/** Helper for making rational values. */
Term mkRationalValHelper(const Rational& r) const;
/** Helper for mkReal functions that take a string as argument. */