diff options
| author | Tristan Partin <tristan@partin.io> | 2022-05-19 13:33:51 -0500 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2022-05-19 15:05:53 -0400 |
| commit | 5d0538d2357259c49ea6abd7793584bbf04091d2 (patch) | |
| tree | 2149b8ff4c50a99ab3f1e1eb1d97031f8dd3b6ee /mesonbuild/compilers/c.py | |
| parent | 8d918e01475cfa616e610c5721b5e9198d03f883 (diff) | |
| download | meson-5d0538d2357259c49ea6abd7793584bbf04091d2.tar.gz | |
Fix invalid Python overrides
- mismatched method type
- mismatched parameter names
Diffstat (limited to 'mesonbuild/compilers/c.py')
| -rw-r--r-- | mesonbuild/compilers/c.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/mesonbuild/compilers/c.py b/mesonbuild/compilers/c.py index 513a8e283..b1b4a7c92 100644 --- a/mesonbuild/compilers/c.py +++ b/mesonbuild/compilers/c.py @@ -53,9 +53,7 @@ else: class CCompiler(CLikeCompiler, Compiler): - - @staticmethod - def attribute_check_func(name: str) -> str: + def attribute_check_func(self, name: str) -> str: try: return C_FUNC_ATTRIBUTES[name] except KeyError: |
