minor: CXX-346 fix style in getIndexNames definition