You'll need to set up a mapping to indicate that the extensionless files under that directory are C++.
Tools > Options > Languages > Extensionless File Manager > Add pattern...
**/OpenSourceGraph/**/include/**
In v21, the Extensionless File Manager is replaced with the Advanced File Mappings configuration panel, but the concept is very similar.