diff options
| author | ljfa-ag <ljfa-ag@web.de> | 2015-07-04 20:13:55 +0200 |
|---|---|---|
| committer | ljfa-ag <ljfa-ag@web.de> | 2015-07-04 20:13:55 +0200 |
| commit | 88a7e206f1093f5a638efc74327b364d009d5f8f (patch) | |
| tree | 23d6fe2b952486f21e15ff451717a82b35a45567 /include | |
| parent | 3a360962bc6a9c5b105cab490cf3bcf74e6959e3 (diff) | |
| download | Project-Tick-88a7e206f1093f5a638efc74327b364d009d5f8f.tar.gz Project-Tick-88a7e206f1093f5a638efc74327b364d009d5f8f.zip | |
Fix crtp_tag::equals
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 fa28a74d41..abd8b3b1ce 100644 --- a/include/crtp_tag.h +++ b/include/crtp_tag.h @@ -64,7 +64,7 @@ namespace detail template<class Sub> bool crtp_tag<Sub>::equals(const tag& rhs) const { - return *this == static_cast<const Sub&>(rhs); + return static_cast<const Sub&>(*this) == static_cast<const Sub&>(rhs); } template<class Sub> |
