Don't use typeid without RTTI in UniqueInstance
Summary: The class depends on RTTI. It's a sanity check that crashes if two instances of a singleton are created. So doing nothing in `-fno-rtti` code is fine. Redo of D29630207 (https://github.com/facebook/folly/commit/160eb4d284eb67cc2641b6718c964dab8fc6486b) Reviewed By: dtolnay Differential Revision: D29684338 fbshipit-source-id: 38355df5297681329f227fd10570a816f4672b9b
Showing
Please register or sign in to comment