aboutsummaryrefslogtreecommitdiff
path: root/llvm/include/llvm/ADT/SparseMultiSet.h
diff options
context:
space:
mode:
Diffstat (limited to 'llvm/include/llvm/ADT/SparseMultiSet.h')
-rw-r--r--llvm/include/llvm/ADT/SparseMultiSet.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/include/llvm/ADT/SparseMultiSet.h b/llvm/include/llvm/ADT/SparseMultiSet.h
index d9d3ff459267..307d2c3f84e5 100644
--- a/llvm/include/llvm/ADT/SparseMultiSet.h
+++ b/llvm/include/llvm/ADT/SparseMultiSet.h
@@ -94,7 +94,7 @@ class SparseMultiSet {
/// tombstones, in which case they are actually nodes in a single-linked
/// freelist of recyclable slots.
struct SMSNode {
- static const unsigned INVALID = ~0U;
+ static constexpr unsigned INVALID = ~0U;
ValueT Data;
unsigned Prev;