mirror of
https://github.com/ceph/ceph
synced 2025-03-11 02:39:05 +00:00
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:
parent
caa0af2519
commit
4f1cd469fc
@ -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:
|
||||
|
Loading…
Reference in New Issue
Block a user