fix pull #2441

A class inheriting from a C++ interface does NOT make it a C++ class.