提交 0133cd5c 编写于 作者: L Liangliang Zhang 提交者: Jiangtao Hu

Ignored lint check as the reference is more convinient to use

上级 4adb0829
......@@ -165,9 +165,8 @@ PathPoint GetWeightedAverageOfTwoPathPoints(const PathPoint& p1,
// a wrapper template function for remove_if (notice that remove_if cannot
// change the Container size)
template <class Container, class F>
auto erase_where(Container& c, F&& f) {
return c.erase(std::remove_if(c.begin(), c.end(), std::forward<F>(f)),
c.end());
void erase_where(Container& c, F&& f) { // NOLINT
c.erase(std::remove_if(c.begin(), c.end(), std::forward<F>(f)), c.end());
}
} // namespace util
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册