diff options
| author | Paul Caprioli <paul@hpkfft.com> | 2025-03-30 11:57:22 -0700 |
|---|---|---|
| committer | Eli Schwartz <eschwartz93@gmail.com> | 2025-04-04 15:13:44 -0400 |
| commit | a02857ca6db697955359e71bc0547ecdc641a812 (patch) | |
| tree | d870f1c20c99e214067b8a7630d9b6311323130c /mesonbuild/templates/objcpptemplates.py | |
| parent | 8bab16792ef6f38687cbd100cad67091e0e2d22c (diff) | |
| download | meson-a02857ca6db697955359e71bc0547ecdc641a812.tar.gz | |
templates: Fix style by adding space after if
Diffstat (limited to 'mesonbuild/templates/objcpptemplates.py')
| -rw-r--r-- | mesonbuild/templates/objcpptemplates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/templates/objcpptemplates.py b/mesonbuild/templates/objcpptemplates.py index 45e70c6c9..1fdfa06a4 100644 --- a/mesonbuild/templates/objcpptemplates.py +++ b/mesonbuild/templates/objcpptemplates.py @@ -48,7 +48,7 @@ lib_objcpp_test_template = '''#import <{header_file}> #import <iostream> int main(int argc, char **argv) {{ - if(argc != 1) {{ + if (argc != 1) {{ std::cout << argv[0] << " takes no arguments." << std::endl; return 1; }} @@ -113,7 +113,7 @@ hello_objcpp_template = '''#import <iostream> #define PROJECT_NAME "{project_name}" int main(int argc, char **argv) {{ - if(argc != 1) {{ + if (argc != 1) {{ std::cout << argv[0] << " takes no arguments." << std::endl; return 1; }} |
