2010-11-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>

Use const reference
	* src/UnionSeedCriteria.h
This commit is contained in:
Tatsuhiro Tsujikawa 2010-11-06 15:33:19 +00:00
parent d2f71b9f83
commit 02f725cab5
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2010-11-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use const reference
* src/UnionSeedCriteria.h
2010-11-01 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Release 1.10.6

View File

@ -47,7 +47,7 @@ private:
class Reset {
public:
void operator()(SharedHandle<SeedCriteria> cri)
void operator()(const SharedHandle<SeedCriteria>& cri)
{
cri->reset();
}
@ -55,7 +55,7 @@ private:
class Eval {
public:
bool operator()(SharedHandle<SeedCriteria> cri)
bool operator()(const SharedHandle<SeedCriteria>& cri)
{
return cri->evaluate();
}