Skip to content

Commit 9328f0d

Browse files
committed
[MapVector] s/inline//
1 parent 81d441c commit 9328f0d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

llvm/include/llvm/ADT/MapVector.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -99,10 +99,10 @@ class MapVector {
9999
return try_emplace_impl(Key).first->second;
100100
}
101101

102-
[[nodiscard]] inline auto keys() { return make_first_range(Vector); }
103-
[[nodiscard]] inline auto keys() const { return make_first_range(Vector); }
104-
[[nodiscard]] inline auto values() { return make_second_range(Vector); }
105-
[[nodiscard]] inline auto values() const { return make_second_range(Vector); }
102+
[[nodiscard]] auto keys() { return make_first_range(Vector); }
103+
[[nodiscard]] auto keys() const { return make_first_range(Vector); }
104+
[[nodiscard]] auto values() { return make_second_range(Vector); }
105+
[[nodiscard]] auto values() const { return make_second_range(Vector); }
106106

107107
// Returns a copy of the value. Only allowed if ValueT is copyable.
108108
[[nodiscard]] ValueT lookup(const KeyT &Key) const {

0 commit comments

Comments
 (0)