There is a finite amount of Bitcoins; as the supply of bitcoins decreases, the price increases. This increase in price offsets the adverse effects of inflation.