changed obj-c++ syntax to make it compatible with gcc-llvm