Skip to content
  • Derrick Pallas's avatar
    Fix FilterBench when RTTI=0 (#6732) · 52723054
    Derrick Pallas authored
    
    
    Summary:
    The dynamic_cast in the filter benchmark causes release mode to fail due to
    no-rtti.  Replace with static_cast_with_check.
    
    Signed-off-by: default avatarDerrick Pallas <derrick@pallas.us>
    
    Addition by peterd: Remove unnecessary 2nd template arg on all static_cast_with_check
    Pull Request resolved: https://github.com/facebook/rocksdb/pull/6732
    
    Reviewed By: ltamasi
    
    Differential Revision: D21304260
    
    Pulled By: pdillinger
    
    fbshipit-source-id: 6e8eb437c4ca5a16dbbfa4053d67c4ad55f1608c
    52723054