diff options
author | Pat Gavlin <pgavlin@gmail.com> | 2016-03-02 16:09:10 -0800 |
---|---|---|
committer | Pat Gavlin <pgavlin@gmail.com> | 2016-03-02 16:09:10 -0800 |
commit | 143466225c322418605ed58dd2aa60695613e547 (patch) | |
tree | e91c000a02d526bed878f72fe27776e04df13b75 /src/jit/jitstd | |
parent | f397c047d361280666c7d771f98c97413ed35dcf (diff) | |
parent | ee3658bbbc60f7340810464d1152af3897efbb31 (diff) | |
download | coreclr-143466225c322418605ed58dd2aa60695613e547.tar.gz coreclr-143466225c322418605ed58dd2aa60695613e547.tar.bz2 coreclr-143466225c322418605ed58dd2aa60695613e547.zip |
Merge pull request #1668 from Dmitry-Me/assignmentOpReturningUnsuitableType
Impossible implicit downcast in assignment operator
Diffstat (limited to 'src/jit/jitstd')
-rw-r--r-- | src/jit/jitstd/unordered_set.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jit/jitstd/unordered_set.h b/src/jit/jitstd/unordered_set.h index 9f42518679..388e72426c 100644 --- a/src/jit/jitstd/unordered_set.h +++ b/src/jit/jitstd/unordered_set.h @@ -149,7 +149,8 @@ template <typename Value, typename Hash, typename Pred, typename Alloc> unordered_set<Value, Hash, Pred, Alloc>& unordered_set<Value, Hash, Pred, Alloc>::operator=(unordered_set const& other) { - return base_type::operator=(other); + base_type::operator=(other); + return *this; } } // end of namespace jitstd. |