Mel lain new topic ids

Remove "const". 
"int" parameters are always passed by value, so the value can't be changed on caller's site.