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/cpptemplates.py | |
| parent | 8bab16792ef6f38687cbd100cad67091e0e2d22c (diff) | |
| download | meson-a02857ca6db697955359e71bc0547ecdc641a812.tar.gz | |
templates: Fix style by adding space after if
Diffstat (limited to 'mesonbuild/templates/cpptemplates.py')
| -rw-r--r-- | mesonbuild/templates/cpptemplates.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mesonbuild/templates/cpptemplates.py b/mesonbuild/templates/cpptemplates.py index eead3cf05..1bfa2ae4f 100644 --- a/mesonbuild/templates/cpptemplates.py +++ b/mesonbuild/templates/cpptemplates.py @@ -15,7 +15,7 @@ hello_cpp_template = '''#include <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.\\n"; return 1; }} @@ -97,7 +97,7 @@ lib_cpp_test_template = '''#include <{header_file}> #include <iostream> int main(int argc, char **argv) {{ - if(argc != 1) {{ + if (argc != 1) {{ std::cout << argv[0] << " takes no arguments.\\n"; return 1; }} |
