mirror of
https://github.com/polybar/polybar.git
synced 2026-02-14 12:55:31 +00:00
fix(cmake): Make specific c++lib linking optional
- Do not enforce linking against libc++ - Fix various linter warnings
This commit is contained in:
@ -59,7 +59,7 @@ namespace string_util {
|
||||
for (size_t i = 0; i < haystack.length(); i++) {
|
||||
if (haystack.compare(i, needle.length(), needle) == 0) {
|
||||
replaced += replacement;
|
||||
i += needle.length()-1;
|
||||
i += needle.length() - 1;
|
||||
} else {
|
||||
replaced += haystack[i];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user