summaryrefslogtreecommitdiff
path: root/src/str.cc
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2025-09-15 21:15:53 +0200
committerJoel Klinghed <the_jk@spawned.biz>2025-09-15 21:15:53 +0200
commitaa49abdf239bae6065fddd0839ec67a404c9748c (patch)
tree631fbb2df58aa35df3d60c65c037ef74b1807114 /src/str.cc
parentbf41a601fd0447bcf3a2937a595a1cd8ca5c1633 (diff)
Add .clang-format
Make it easier to keep a consistent style
Diffstat (limited to 'src/str.cc')
-rw-r--r--src/str.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/str.cc b/src/str.cc
index f81617d..bd7a654 100644
--- a/src/str.cc
+++ b/src/str.cc
@@ -24,8 +24,8 @@ void split(std::string_view str, std::vector<std::string_view>& out,
}
}
-std::vector<std::string_view> split(std::string_view str,
- char separator, bool keep_empty) {
+std::vector<std::string_view> split(std::string_view str, char separator,
+ bool keep_empty) {
std::vector<std::string_view> vec;
split(str, vec, separator, keep_empty);
return vec;