Skip to content

Commit 3c2fd04

Browse files
authored
Remove improper use of __declspec(allocator) (microsoft#2328)
1 parent 793713e commit 3c2fd04

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stl/inc/xmemory

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -832,8 +832,7 @@ public:
832832
}
833833

834834
#if _HAS_CXX23
835-
_NODISCARD constexpr __declspec(allocator) allocation_result<_Ty*> allocate_at_least(
836-
_CRT_GUARDOVERFLOW const size_t _Count) {
835+
_NODISCARD constexpr allocation_result<_Ty*> allocate_at_least(_CRT_GUARDOVERFLOW const size_t _Count) {
837836
return {allocate(_Count), _Count};
838837
}
839838
#endif // _HAS_CXX23

0 commit comments

Comments
 (0)