Skip to content

Commit

Permalink
specify type of constant
Browse files Browse the repository at this point in the history
Summary:
# This diff

Specifies that a constant is an unsigned long long to fix a newly introduced compiler error (when building with Pika 16.3)

Reviewed By: narissiam

Differential Revision: D70399358

fbshipit-source-id: 3bd8a4773c7909b5bbe0ebb22ea8013f6ea8dc53
  • Loading branch information
MichaelCuevas authored and facebook-github-bot committed Feb 28, 2025
1 parent a883ea5 commit accca84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eden/common/utils/test/ImmediateFutureBenchmark.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ namespace {
using namespace facebook::eden;

void ImmediateFuture_thenValue_with_int(benchmark::State& state) {
ImmediateFuture<uint64_t> fut = 0;
ImmediateFuture<uint64_t> fut = 0ULL;

for (auto _ : state) {
auto newFut = std::move(fut).thenValue([](uint64_t v) { return v + 1; });
Expand Down

0 comments on commit accca84

Please sign in to comment.