Skip to content

Commit

Permalink
lru_garbage_collector.cc: fix c++20 build error relating to inconsist…
Browse files Browse the repository at this point in the history
…en constinit in declaration and definition
  • Loading branch information
dconeybe committed Jan 10, 2025
1 parent b386b40 commit 686db4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Firestore/core/src/local/lru_garbage_collector.cc
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ class RollingSequenceNumberBuffer {

} // namespace

const ListenSequenceNumber kListenSequenceNumberInvalid = -1;
ABSL_CONST_INIT const ListenSequenceNumber kListenSequenceNumberInvalid = -1;

LruParams LruParams::Default() {
return LruParams{100 * 1024 * 1024, 10, 1000};
Expand Down

0 comments on commit 686db4c

Please sign in to comment.