From a617a905814b6182464d608d5920ea8f5effc580 Mon Sep 17 00:00:00 2001 From: Hitesh Khandelwal Date: Fri, 20 Dec 2013 14:02:39 -0800 Subject: [PATCH] Revert "[Folly] Helper method to get exception type" Summary: This reverts commit 2c4f8da739ba0294f2c947753a0e30fee291feb5. Test Plan: Compiles Reviewed By: tudorb@fb.com FB internal diff: D1108840 --- folly/String.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/folly/String.h b/folly/String.h index e0790f54..da93cd26 100644 --- a/folly/String.h +++ b/folly/String.h @@ -352,13 +352,6 @@ inline size_t demangle(const std::type_info& type, char* buf, size_t bufSize) { return demangle(type.name(), buf, bufSize); } -/** - * Debug string for an exception: include type only. - */ -inline fbstring exceptionTypeStr(const std::exception& e) { - return folly::to(demangle(typeid(e))); -} - /** * Debug string for an exception: include type and what(). */ -- 2.34.1