Skip to content

Commit a9e5b27

Browse files
committed
Replace '\n' -> std::endl in 'cout' cpp snippet
1 parent b16fa0e commit a9e5b27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

snippets/cpp.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@
236236
"cout": {
237237
"prefix": "cout",
238238
"body": [
239-
"std::cout << \"${1:/* message */}\" << '\\n';"
239+
"std::cout << \"${1:/* message */}\" << std::endl;"
240240
],
241241
"description": "Code snippet for printing to std::cout, provided the header is set"
242242
},

0 commit comments

Comments
 (0)