mirror of
https://github.com/ceph/ceph
synced 2025-01-18 09:02:08 +00:00
FileStore.cc: use static_cast instead of c-style cast
Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
This commit is contained in:
parent
6ec08e06bc
commit
cbd324da59
@ -2226,7 +2226,7 @@ unsigned FileStore::_do_transaction(
|
||||
dout(10) << "_do_transaction on " << &t << dendl;
|
||||
|
||||
#ifdef WITH_LTTNG
|
||||
const char *osr_name = t.get_osr() ? ((OpSequencer*)t.get_osr())->get_name().c_str() : "<NULL>";
|
||||
const char *osr_name = t.get_osr() ? static_cast<OpSequencer*>(t.get_osr())->get_name().c_str() : "<NULL>";
|
||||
#endif
|
||||
|
||||
Transaction::iterator i = t.begin();
|
||||
|
Loading…
Reference in New Issue
Block a user