Change some parms to const reference (satisfies cppcheck)

This commit is contained in:
Martin Vierula
2022-04-27 08:57:09 -07:00
parent 0be89cc15e
commit 606f5721c2
6 changed files with 6 additions and 8 deletions

View File

@@ -99,7 +99,7 @@ class Tx_DynamicElement : public Variable {
}
static void storeOrUpdateFirst(Transaction *t, const std::string &var,
std::string value) {
const std::string &value) {
t->m_collections.m_tx_collection->storeOrUpdateFirst(var, value);
}