• S
    Avoid type unique_ptr in LogWriterNumber::writer for Windows build break · 6a4aaadc
    sdong 提交于
    Summary:
    Visual Studio complains about deque<LogWriterNumber> because LogWriterNumber is non-copyable for its unique_ptr member writer. Move away from it, and do explit free.
    It is less safe but I can't think of a better way to unblock it.
    
    Test Plan: valgrind check test
    
    Reviewers: anthony, IslamAbdelRahman, kolmike, rven, yhchiang
    
    Reviewed By: yhchiang
    
    Subscribers: leveldb, dhruba
    
    Differential Revision: https://reviews.facebook.net/D43647
    6a4aaadc
db_impl.cc 160.4 KB