boostorg / core

Boost Core Utilities
132 stars 86 forks source link

clang-11 warning: 'allocate' is deprecated #86

Closed k15tfu closed 3 years ago

k15tfu commented 3 years ago

In file boost/core/allocator_access.hpp:

boost/core/allocator_access.hpp:349:14: error: 'allocate' is deprecated [-Werror,-Wdeprecated-declarations]
    return a.allocate(n, h);
             ^
1 error generated.

Linked issue: #75

glenfe commented 3 years ago

Should be resolved in 86bff4c2d381c1832b6ff61fabe90635ff91d9fc, thanks.