fixed #3179 Remove duplicate function in class CCComAttribute