util/cache_test.cc: use static_cast over C-Style cast

Signed-off-by: Danny Al-Gaaf <danny.al-gaaf@bisect.de>
main
Danny Al-Gaaf 10 years ago
parent 86e29f0334
commit bf3bfd0448
  1. 2
      util/cache_test.cc

@ -386,7 +386,7 @@ class Value {
namespace { namespace {
void deleter(const Slice& key, void* value) { void deleter(const Slice& key, void* value) {
delete (Value *)value; delete static_cast<Value *>(value);
} }
} // namespace } // namespace

Loading…
Cancel
Save