commit | 899f113f6c12fb633ef1707afbd0a215eaac320d | [log] [tgz] |
---|---|---|
author | Marshall Clow <mclow.lists@gmail.com> | Wed Jun 14 16:54:43 2017 +0000 |
committer | Marshall Clow <mclow.lists@gmail.com> | Wed Jun 14 16:54:43 2017 +0000 |
tree | 7c51f1fa09d9c8d75ca71f93f81683aea12c317c | |
parent | 13498f6888cf14b33383e29db42df4f7eb549e6e [diff] |
In several places in std::allocator<const T> (and one in shared_ptr, we were casting a 'const T*' to a 'void *' - implicitly casting away the const. Add const_cast to make that explicit. No functional change. git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@305397 91177308-0d34-0410-b5e6-96231b3b80d8