• Jim Meyering's avatar
    folly/IndexedMemPool: correct an erroneous test for failed mmap · af59f4c1
    Jim Meyering authored
    Summary:
    * folly/IndexedMemPool.h (IndexedMemPool): Correct the test for
    failed mmap.  Upon failure, it returns MAP_FAILED, not nullptr.
    
    Test Plan:
    fbconfig -r folly/test:indexed_mem_pool_test && fbmake runtests
    
    Reviewed By: ngbronson@fb.com
    
    FB internal diff: D1480389
    
    Tasks: 4846893
    @override-unit-failures
    af59f4c1
IndexedMemPool.h 14 KB