BIND 10 master, updated. 00554310f20b5a29fbad6a6a9ba9856c5570853a [master] pass method param by const reference instead of by object
BIND 10 source code commits
bind10-changes at lists.isc.org
Mon Dec 10 19:14:43 UTC 2012
The branch, master has been updated
via 00554310f20b5a29fbad6a6a9ba9856c5570853a (commit)
from 93eddf78d2db40f314323dc708252c87ed846a48 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 00554310f20b5a29fbad6a6a9ba9856c5570853a
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Mon Dec 10 11:13:20 2012 -0800
[master] pass method param by const reference instead of by object
this will suppress a cppcheck error:
http://git.bind10.isc.org/~tester/builder//BIND10-cppcheck/20121209143001-FreeBSD8-amd64-GCC/logs/cppcheck.out
okayed on jabber.
-----------------------------------------------------------------------
Summary of changes:
src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc b/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
index 7f6bcc9..d7487b5 100644
--- a/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
+++ b/src/lib/dhcpsrv/tests/mysql_lease_mgr_unittest.cc
@@ -469,7 +469,7 @@ public:
///
/// @param leases Vector of pointers to leases
template <typename T>
- void checkLeasesDifferent(const std::vector<T> leases) const {
+ void checkLeasesDifferent(const std::vector<T>& leases) const {
// Check they were created
for (int i = 0; i < leases.size(); ++i) {
More information about the bind10-changes
mailing list