From e969e62e5c724efc995ea55d0c9238631ab4377b Mon Sep 17 00:00:00 2001 From: ljfa-ag Date: Wed, 22 Jul 2015 21:52:14 +0200 Subject: Fix missing cast --- include/crtp_tag.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/crtp_tag.h b/include/crtp_tag.h index f227fec9cf..94730887d5 100644 --- a/include/crtp_tag.h +++ b/include/crtp_tag.h @@ -71,7 +71,7 @@ namespace detail template tag& crtp_tag::assign(tag&& rhs) { - return *this = dynamic_cast(rhs); + return static_cast(*this) = dynamic_cast(rhs); } template -- cgit 0.0.5-2-1-g0f52