By definion, molrity takes into accunt the volume of the solution which changes with change in temperature. All other terms, for expressing the concentraton of a solution involce the mass of the solvent whtich is not influenced by the temperature, For details, conslutes section 2.