Make CPPCompiler.get_display_language() a classmethod

This matches the parent declaration.
pull/11976/head
Tristan Partin 1 year ago
parent 9e8a034ade
commit dc692d98fc
  1. 4
      mesonbuild/compilers/cpp.py

@ -82,8 +82,8 @@ class CPPCompiler(CLikeCompiler, Compiler):
full_version=full_version)
CLikeCompiler.__init__(self, exe_wrapper)
@staticmethod
def get_display_language() -> str:
@classmethod
def get_display_language(cls) -> str:
return 'C++'
def get_no_stdinc_args(self) -> T.List[str]:

Loading…
Cancel
Save