2.Section 495 of the Civil Procedure Code (hereinafter referred to as the "principal enactment") is hereby repealed and the following section substituted therefor :
495. A co-defendant of sound mind and of full age with no interest adverse to that of the minor may be appointed guardian for the action, but a plaintiff cannot be so appointed."