diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-07-22 21:52:14 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-07-22 21:52:14 +0200 |
| commit | e969e62e5c724efc995ea55d0c9238631ab4377b (patch) | |
| tree | e6a9d051ff3f7f4bb7d38f3273934342a8802d1c /include | |
| parent | a8991a4b5e8854ae4ffa48b40ccf66358f462704 (diff) | |
| download | Project-Tick-e969e62e5c724efc995ea55d0c9238631ab4377b.tar.gz Project-Tick-e969e62e5c724efc995ea55d0c9238631ab4377b.zip | |
Fix missing cast
Diffstat (limited to 'include')
| -rw-r--r-- | include/crtp_tag.h | 2 |
1 files changed, 1 insertions, 1 deletions
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<class Sub> tag& crtp_tag<Sub>::assign(tag&& rhs) { - return *this = dynamic_cast<Sub&&>(rhs); + return static_cast<Sub&>(*this) = dynamic_cast<Sub&&>(rhs); } template<class Sub> |
