• Dan Zimmerman's avatar
    Split out folly::enable_shared_from_this from Memory.h · 1a32e2cf
    Dan Zimmerman authored
    Summary:
    This doesn't need to be in Memory.h and is one of the reasons Memory.h fails to compile with -fno-exceptions, so split it out
    
    I include EnableSharedFromThis.h because I'm not sure how else to ensure backward compatibility any other way (and I have the macro so we can include Memory.h without including EnableSharedFromThis.h)
    
    Reviewed By: yfeldblum
    
    Differential Revision: D9385709
    
    fbshipit-source-id: bf2c3a757ae4eefba69e6191309d64b347becf12
    1a32e2cf
Memory.h 21.2 KB