Skip to content

Commit baeb2ea

Browse files
committed
fix: msvc cannot recognize the header file with '-'
1 parent e65c2ae commit baeb2ea

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • template/cxx/{{cookiecutter.project_slug}}/src
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
#ifndef {{cookiecutter.project_slug}}_LIBRARY_H
2-
#define {{cookiecutter.project_slug}}_LIBRARY_H
1+
#ifndef {{cookiecutter.package_name | upper}}_LIBRARY_H
2+
#define {{cookiecutter.package_name | upper}}_LIBRARY_H
33

44
void hello();
55

6-
#endif //{{cookiecutter.project_slug}}_LIBRARY_H
6+
#endif //{{cookiecutter.package_name | upper}}_LIBRARY_H

0 commit comments

Comments
 (0)