cpp: fix typo in header