a mutation in which types of cells would only affect the organism and not future generations

A mutation in somatic cells would only affect the organism and not future generations.