From ee3658bbbc60f7340810464d1152af3897efbb31 Mon Sep 17 00:00:00 2001 From: Dmitry-Me Date: Fri, 2 Oct 2015 17:26:47 +0300 Subject: [PATCH] Impossible implicit downcast in assignment operator --- src/jit/jitstd/unordered_set.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/jit/jitstd/unordered_set.h b/src/jit/jitstd/unordered_set.h index 323f22f..265d3bc 100644 --- a/src/jit/jitstd/unordered_set.h +++ b/src/jit/jitstd/unordered_set.h @@ -150,7 +150,8 @@ template unordered_set& unordered_set::operator=(unordered_set const& other) { - return base_type::operator=(other); + base_type::operator=(other); + return *this; } } // end of namespace jitstd. -- 2.7.4