diff options
author | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-11 11:32:49 +0000 |
---|---|---|
committer | Benjamin Kramer <benny.kra@googlemail.com> | 2014-03-11 11:32:49 +0000 |
commit | dabc5073b21bca077cf86a64fde9aa87cf654362 (patch) | |
tree | e6ddddd6fb907fa34e59681d00876e9fc56d5e33 /include/llvm/ADT/STLExtras.h | |
parent | ca396e391e13d417605ebed06780d92c88f14a6b (diff) | |
download | llvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.gz llvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.bz2 llvm-dabc5073b21bca077cf86a64fde9aa87cf654362.tar.xz |
Remove copy ctors that did the same thing as the default one.
The code added nothing but potentially disabled move semantics and made
types non-trivially copyable.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@203563 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/ADT/STLExtras.h')
-rw-r--r-- | include/llvm/ADT/STLExtras.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/llvm/ADT/STLExtras.h b/include/llvm/ADT/STLExtras.h index 66221de2a4..ab6884ffb5 100644 --- a/include/llvm/ADT/STLExtras.h +++ b/include/llvm/ADT/STLExtras.h @@ -97,8 +97,6 @@ public: inline explicit mapped_iterator(const RootIt &I, UnaryFunc F) : current(I), Fn(F) {} - inline mapped_iterator(const mapped_iterator &It) - : current(It.current), Fn(It.Fn) {} inline value_type operator*() const { // All this work to do this return Fn(*current); // little change |