Commit 179e9a12 authored by Scott Wolchok's avatar Scott Wolchok Committed by Facebook Github Bot

Don't include FBVector.h in String.h

Summary: No need for String to import fbvector.

Reviewed By: yfeldblum

Differential Revision: D13007715

fbshipit-source-id: c61639a04273f14dd3daf230ee6ed9ade93d058e
parent cb838d11
......@@ -395,7 +395,7 @@ template <class Delim, class String, class OutputType>
void split(
const Delim& delimiter,
const String& input,
fbvector<OutputType>& out,
fbvector<OutputType, std::allocator<OutputType>>& out,
bool ignoreEmpty) {
detail::internalSplit<OutputType>(
detail::prepareDelim(delimiter),
......
......@@ -27,7 +27,6 @@
#include <folly/Conv.h>
#include <folly/ExceptionString.h>
#include <folly/FBString.h>
#include <folly/FBVector.h>
#include <folly/Portability.h>
#include <folly/Range.h>
#include <folly/ScopeGuard.h>
......@@ -423,11 +422,14 @@ void split(
std::vector<OutputType>& out,
const bool ignoreEmpty = false);
template <class T, class Allocator>
class fbvector;
template <class Delim, class String, class OutputType>
void split(
const Delim& delimiter,
const String& input,
folly::fbvector<OutputType>& out,
folly::fbvector<OutputType, std::allocator<OutputType>>& out,
const bool ignoreEmpty = false);
template <
......
......@@ -18,6 +18,7 @@
#include <folly/DynamicConverter.h>
#include <folly/FBVector.h>
#include <folly/portability/GTest.h>
#include <algorithm>
......
......@@ -26,6 +26,7 @@
#include <boost/regex.hpp>
#include <folly/FBVector.h>
#include <folly/container/Array.h>
#include <folly/portability/GTest.h>
#include <folly/test/TestUtils.h>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment