CPP to remove warnings when compiling with lens 3.9