mirror of
https://github.com/aria2/aria2.git
synced 2025-01-04 09:03:46 +00:00
2010-11-07 Tatsuhiro Tsujikawa <t-tujikawa@users.sourceforge.net>
Use const reference * src/UnionSeedCriteria.h
This commit is contained in:
parent
d2f71b9f83
commit
02f725cab5
@ -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
|
||||
|
@ -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();
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user