From: Hitesh Khandelwal Date: Fri, 20 Dec 2013 22:02:39 +0000 (-0800) Subject: Revert "[Folly] Helper method to get exception type" X-Git-Tag: v0.22.0~748 X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=a617a905814b6182464d608d5920ea8f5effc580;p=folly.git 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 --- 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(). */