Measurement of the CKM angle γ in B ± → DK ± and B ± → Dπ ± decays with D → KS0 h + h −