Skip to content

Commit

Permalink
updated
Browse files Browse the repository at this point in the history
  • Loading branch information
treefrogframework committed Apr 15, 2024
1 parent 58888ba commit d667d68
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,13 @@ charset = utf-8
end_of_line = lf
indent_style = space
trim_trailing_whitespace = true
indent_size = 4

[*.{h,cpp}]
trim_trailing_whitespace = true
indent_size = 4
insert_final_newline = true

[*.pro]
indent_size = 2
trim_trailing_whitespace = true

[Makefile]
indent_style = tab
Expand All @@ -29,7 +27,9 @@ insert_final_newline = false
end_of_line = crlf

[*.bat]
charset = Shift_JIS
end_of_line = crlf

[*.{yml,yaml}]
[*.md]
indent_size = 2
trim_trailing_whitespace = false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ Code can be pasted.
int main()
{
std::map<int, std::string> m = {{1, "one"}, {2, "two"}};
std::map<int, std::string> m = { {1, "one"}, {2, "two"} };
if (auto it = m.find(2); it != m.end()) {
std::cout << it->second << std::endl;
}
Expand Down

0 comments on commit d667d68

Please sign in to comment.