diff options
author | mgiuca <mgiuca@chromium.org> | 2015-11-11 19:21:55 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-11-12 03:22:35 +0000 |
commit | e4c2c5e923fdcfb01c7f41f66347b6d2882df70a (patch) | |
tree | 592650d181eae8f4ba6218bf9e8d3d1ed28f5eed /base/containers | |
parent | 5ab44a20e9a06112e3e3d350b9fcc928acdbc03b (diff) | |
download | chromium_src-e4c2c5e923fdcfb01c7f41f66347b6d2882df70a.zip chromium_src-e4c2c5e923fdcfb01c7f41f66347b6d2882df70a.tar.gz chromium_src-e4c2c5e923fdcfb01c7f41f66347b6d2882df70a.tar.bz2 |
ScopedVector and ScopedPtrMap: Added deprecation notice.
Now we can just use std::vector and std::map, respectively.
BUG=554289,554291
Review URL: https://codereview.chromium.org/1436913005
Cr-Commit-Position: refs/heads/master@{#359234}
Diffstat (limited to 'base/containers')
-rw-r--r-- | base/containers/scoped_ptr_map.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/containers/scoped_ptr_map.h b/base/containers/scoped_ptr_map.h index 23aadbb..dfa26f4 100644 --- a/base/containers/scoped_ptr_map.h +++ b/base/containers/scoped_ptr_map.h @@ -22,6 +22,9 @@ namespace base { // // |ScopedPtr| must be a type scoped_ptr<T>. This is for compatibility with // std::map in C++11. +// +// TODO(http://crbug.com/554291): DEPRECATED: Use std::map instead (now that we +// have support for moveable types inside containers). template <class Key, class ScopedPtr, class Compare = std::less<Key>> class ScopedPtrMap { MOVE_ONLY_TYPE_WITH_MOVE_CONSTRUCTOR_FOR_CPP_03(ScopedPtrMap) |