Whenever any public or private corporation, authorized by law to condemn land for a public use, proceeds to condemn the lands of any infant, cestui que trust or person non compos mentis, such lands may be taken on giving notice to the trustee of any such cestui que trust, the guardian, legally appointed, of such infant or the conservator of such person non compos mentis, who may release all claims for damages for land so taken, as fully as if the same were held in his own right.
(1949 Rev., S. 7187.)