Opened 13 years ago
Closed 13 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: |
Description
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.
Note: See
TracTickets for help on using
tickets.
(In [938])
Well Score is an abstract interface class so
const&
will do good.