From: Mehdi Bouaziz <mbouaziz@fb.com>
Date: Thu, 7 Dec 2017 10:57:26 +0000 (-0800)
Subject: Removed dead IsSomeVector
X-Git-Tag: v2017.12.11.00~15
X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=fe9d8cadb9bba9ddc7ea151f779458b8dc1904cd;p=folly.git

Removed dead IsSomeVector

Summary: deadcode

Reviewed By: ddrcoder

Differential Revision: D6498754

fbshipit-source-id: 9dda0ade6928d648b8938a06b185e430753f2318
---

diff --git a/folly/String.h b/folly/String.h
index 6889476b..750863b9 100644
--- a/folly/String.h
+++ b/folly/String.h
@@ -468,21 +468,6 @@ void splitTo(const Delim& delimiter,
  * Note that this will likely not work if the last field's target is of numeric
  * type, in which case folly::to<> will throw an exception.
  */
-template <class T, class Enable = void>
-struct IsSomeVector {
-  enum { value = false };
-};
-
-template <class T>
-struct IsSomeVector<std::vector<T>, void> {
-  enum { value = true };
-};
-
-template <class T>
-struct IsSomeVector<fbvector<T>, void> {
-  enum { value = true };
-};
-
 template <class T, class Enable = void>
 struct IsConvertible {
   enum { value = false };