mirror of
https://github.com/ceph/ceph
synced 2024-12-19 01:46:00 +00:00
test/encoding/ceph_dencoder.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
8dc0a3292d
commit
a6bd6581c3
@ -148,7 +148,7 @@ public:
|
||||
throw std::runtime_error(ss.str());
|
||||
}
|
||||
m_object->put();
|
||||
m_object = (T *)n;
|
||||
m_object = static_cast<T *>(n);
|
||||
}
|
||||
catch (buffer::error& e) {
|
||||
return e.what();
|
||||
|
Loading…
Reference in New Issue
Block a user