given the concentration of HCl and NaCl, the contribution by these solutes to the solution density is insignificant compared to that by the solvent. Hence, the solution density is approximately the same as the solvent density.
The amount of HCl and NaCl is insignificant to the amount of solvent that their contribution to the overall heat capacity of the solution is insignificant. Therefore, the heat capacity of the solution is effectively that for the solvent.
Of course, these assumptions won't holf if our solution is concentrated.