CDentry.h: use static_cast instead of C-Style cast

Use static_cast<T>() instead of C-Style cast.

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
Danny Al-Gaaf 2013-02-28 14:45:03 +01:00
parent caa0af2519
commit 4f1cd469fc

View File

@ -98,7 +98,7 @@ public:
static const int EXPORT_NONCE = 1;
bool is_lt(const MDSCacheObject *r) const {
return *this < *(CDentry*)r;
return *this < *static_cast<const CDentry*>(r);
}
public: