diff options
author | Tristan Partin <tristan@partin.io> | 2023-07-12 17:52:10 -0500 |
---|---|---|
committer | Tristan Partin <tristan@partin.io> | 2023-07-12 18:56:06 -0500 |
commit | dc692d98fc48f8d5c6ea528adc6dce481412b02f (patch) | |
tree | 7bbc6724381668874be1e40e283e73cd553b5e3a /mesonbuild/compilers/cpp.py | |
parent | 9e8a034ade51d45cd43268b38c15a73786e15d05 (diff) | |
download | meson-dc692d98fc48f8d5c6ea528adc6dce481412b02f.zip meson-dc692d98fc48f8d5c6ea528adc6dce481412b02f.tar.gz meson-dc692d98fc48f8d5c6ea528adc6dce481412b02f.tar.bz2 |
Make CPPCompiler.get_display_language() a classmethod
This matches the parent declaration.
Diffstat (limited to 'mesonbuild/compilers/cpp.py')
-rw-r--r-- | mesonbuild/compilers/cpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/cpp.py b/mesonbuild/compilers/cpp.py index cd1ed93..be5c083 100644 --- a/mesonbuild/compilers/cpp.py +++ b/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]: |