Skip to content

Commit ba8476f

Browse files
SeaOtocinclusfacebook-github-bot
authored andcommitted
{Build} Remove unecessary character
Summary: Remove uneeded `;` Fix a typo - detected with VS Compiler 2019 + Clang Reviewed By: graphicsMan Differential Revision: D59829604 fbshipit-source-id: c6e04d2eb400ae3f4af06c6f6238199d6a5ee2e8
1 parent 3ff4916 commit ba8476f

File tree

3 files changed

+4
-5
lines changed

3 files changed

+4
-5
lines changed

dispenso/detail/small_buffer_allocator_impl.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ class SmallBufferAllocator {
4747
static constexpr size_t kLogFactor = log2const(kChunkSize | 1);
4848

4949
// TODO(T88183021): Make these factors compile-time configurable. For example, the current values
50-
// can lead to megabytes of data being allocated, even if the alloctor is only used for one or two
51-
// allocations. Likely we can reduce these sizes by a decent factor without affecting benchmarks,
52-
// and then reduce them even further as an option.
50+
// can lead to megabytes of data being allocated, even if the allocator is only used for one or
51+
// two allocations. Likely we can reduce these sizes by a decent factor without affecting
52+
// benchmarks, and then reduce them even further as an option.
5353
static constexpr size_t kMallocBytes = (1 << 12) * kLogFactor;
5454
static constexpr size_t kIdealTLCacheBytes = kMallocBytes / 4;
5555
static constexpr size_t kIdealNumTLBuffers = kIdealTLCacheBytes / kChunkSize;

dispenso/graph.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ class Node {
236236
if (funcBuffer_) {
237237
destroy_(funcBuffer_);
238238
}
239-
};
239+
}
240240
/**
241241
* Make this node depends on nodes. This is not concurrency safe.
242242
*

dispenso/small_buffer_allocator.h

-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ inline std::enable_if_t<(kBlockSize <= kMaxSmallBufferSize), char*> allocSmallOr
4848
return reinterpret_cast<char*>(alignedMalloc(kBlockSize, kBlockSize));
4949
#else
5050
return allocSmallBufferImpl(getOrdinal(kBlockSize));
51-
;
5251
#endif // DISPENSO_NO_SMALL_BUFFER_ALLOCATOR
5352
}
5453

0 commit comments

Comments
 (0)