The county highway superintendent shall have supervision of construction of any and all bridges built by the county and he shall have the power to appoint an inspector for any such bridge or piece of work at any time when in his judgment constant inspection of the same is necessary. The compensation of such inspector shall be paid out of the county road and bridge fund and be charged as part of the cost of the particular bridge in question.
SDCL 31-14-17