Skip to content

Commit baeb2ea

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

File tree

1 file changed

+3
-3
lines changed
  • template/cxx/{{cookiecutter.project_slug}}/src

1 file changed

+3
-3
lines changed
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)