Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
codesigner committed Jan 19, 2023
1 parent 09b934f commit 9bb80c1
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion src/common/base/ObjectPool.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class ObjectPool final : private boost::noncopyable, private cpp::NonMovable {
}

template <typename T, typename... Args>
T *makeAndAdd(Args &&...args) {
T *makeAndAdd(Args &&... args) {
void *ptr;
{
// alloc happens here(may throw bad_alloc), use guard to guarantee unlock
Expand Down
1 change: 0 additions & 1 deletion src/common/memory/Memory.h
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,6 @@ inline ALWAYS_INLINE void trackMemoryNoThrow(std::size_t size) {
MemoryTracker::allocNoThrow(actual_size);
}


inline ALWAYS_INLINE void trackMemory(std::size_t size, std::align_val_t align) {
std::size_t actual_size = getActualAllocationSize(size, align);
MemoryTracker::alloc(actual_size);
Expand Down
2 changes: 0 additions & 2 deletions src/graph/executor/query/FilterExecutor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -84,8 +84,6 @@ StatusOr<DataSet> FilterExecutor::handleJob(size_t begin, size_t end, Iterator *
}

Status FilterExecutor::handleSingleJobFilter() {
// memory::MemoryCheckGuard guard;

auto *filter = asNode<Filter>(node());
auto inputVar = filter->inputVar();
// Use the userCount of the operator's inputVar at runtime to determine whether concurrent
Expand Down

0 comments on commit 9bb80c1

Please sign in to comment.