functions declared in cxx should be declared inline

.cxx are included from .h
Fix template or operator< ambiguity for gcc 4.8.2

arDetectMarker.cxx:147:9: error: 'count' is not a member template
function