Skip to content

Commit 10a502e

Browse files
committed
Corrected templates
1 parent 6a880a4 commit 10a502e

File tree

3 files changed

+7
-22
lines changed

3 files changed

+7
-22
lines changed

formats/dan.json

Lines changed: 0 additions & 18 deletions
This file was deleted.

formats/example.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,9 @@
1212
"array": "std::vector<{}>",
1313
"structStart": "struct {} {{",
1414
"structEnd": "};",
15-
"usingArray": "#include <vector>",
16-
"usingString": "#include <string>",
15+
"usings": {
16+
"std::string": "#include <string>",
17+
"std::vector": "#include <vector>"
18+
},
1719
"extension": "h"
1820
}

formats/template.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@
1212
"array": "",
1313
"structStart": "",
1414
"structEnd": "",
15-
"usingArray": "",
16-
"usingString": "",
15+
"usings": {
16+
17+
},
1718
"extension": ""
1819
}

0 commit comments

Comments
 (0)