Skip to content

Commit 0a42f02

Browse files
committed
nits
1 parent 85364d0 commit 0a42f02

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

library/trees/linear_lca.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ int lsb(int x) { return x & -x; }
1414
struct linear_lca {
1515
int n;
1616
vi d, in, asc, head;
17-
linear_lca(const auto& adj):
17+
linear_lca(const vector<basic_string<int>>& adj):
1818
n(sz(adj)), d(n), in(n), asc(n), head(n + 1) {
1919
vector<pii> order;
2020
auto dfs = [&](auto&& self, int v, int p) -> void {

tests/scripts/grep_clangformat_cppcheck.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ grep "ssize" --recursive ../library/ && exit 1
3232
echo "check vi instead of vector<int>"
3333
grep "vector<int>" --recursive ../library/**/*.hpp && exit 1
3434

35-
echo "check no basic_string"
35+
echo "check no basic_string, excluding @code example inits"
3636
grep "[[:space:]]*//\!" --recursive --invert-match ../library/**/*.hpp library_checker_aizu_tests/**/*.test.cpp | grep "basic_string" && exit 1
3737

3838
echo "check begin(arr) instead of arr.begin(), similarly for end, rbegin, rend, empty, size:"

0 commit comments

Comments
 (0)