Skip to content

Commit a275f7a

Browse files
committed
nodiscard attribute for the TReserveTag
commit_hash:cb3317dd036b226397730ad8c04a5f1a22f0b164
1 parent 35c5437 commit a275f7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/generic/reserve.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#pragma once
22

33
namespace NDetail {
4-
struct TReserveTag {
4+
struct [[nodiscard]] TReserveTag {
55
size_t Capacity;
66
};
77
} // namespace NDetail

0 commit comments

Comments
 (0)