diff options
| author | Dylan Baker <dylan@pnwbakers.com> | 2025-03-12 11:02:07 -0700 |
|---|---|---|
| committer | Dylan Baker <dylan@pnwbakers.com> | 2025-04-08 10:00:16 -0700 |
| commit | 390ea4624c2fbfecf831f1c7f34ec796ff410de7 (patch) | |
| tree | 347a332c2730d923550ad590d271a6af1f0027d3 /mesonbuild/compilers/objcpp.py | |
| parent | 00864ca481c4e29d7f5c648a1e12b934dfa642d2 (diff) | |
| download | meson-390ea4624c2fbfecf831f1c7f34ec796ff410de7.tar.gz | |
coredata: move MutableKeyedOptionDict to options
Diffstat (limited to 'mesonbuild/compilers/objcpp.py')
| -rw-r--r-- | mesonbuild/compilers/objcpp.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/compilers/objcpp.py b/mesonbuild/compilers/objcpp.py index b1cb605e3..441428b2f 100644 --- a/mesonbuild/compilers/objcpp.py +++ b/mesonbuild/compilers/objcpp.py @@ -15,12 +15,12 @@ from .mixins.clang import ClangCompiler, ClangCPPStds from .mixins.clike import CLikeCompiler if T.TYPE_CHECKING: - from .. import coredata from ..envconfig import MachineInfo from ..environment import Environment from ..linkers.linkers import DynamicLinker from ..mesonlib import MachineChoice from ..build import BuildTarget + from ..options import MutableKeyedOptionDictType class ObjCPPCompiler(CLikeCompiler, Compiler): @@ -54,7 +54,7 @@ class ObjCPPCompiler(CLikeCompiler, Compiler): code = '#import<stdio.h>\nclass MyClass;int main(void) { return 0; }\n' return self._sanity_check_impl(work_dir, environment, 'sanitycheckobjcpp.mm', code) - def get_options(self) -> coredata.MutableKeyedOptionDictType: + def get_options(self) -> MutableKeyedOptionDictType: opts = super().get_options() key = self.form_compileropt_key('std') opts.update({ |
