Opened 15 years ago

Closed 15 years ago

#264 closed enhancement (fixed)

Score in InputRanker

Reported by: Peter Owned by: Peter
Priority: minor Milestone: yat 0.4
Component: classifier Version: trunk
Keywords: Cc:


InputRanker? is taking a Score& but every function in Score is const. Score should be passed as const&. Well actually I would like to go one step further. The Score class is expected to be a light weight Functor. Therefore, I think it makes sense to pass by value instead.

Change History (1)

comment:1 Changed 15 years ago by Peter

Resolution: fixed
Status: newclosed

(In [938])

Well Score is an abstract interface class so const& will do good.

Note: See TracTickets for help on using tickets.