Remove the only user of fxl::StringView in FML. (flutter/engine#5314)

This commit is contained in:
Chinmay Garde 2018-05-18 16:43:13 -07:00 committed by GitHub
parent 407cfd2aa9
commit 1dddd111f6
2 changed files with 4 additions and 4 deletions

View File

@ -4,12 +4,14 @@
#include "flutter/fml/paths.h"
#include <sstream>
#include "flutter/fml/build_config.h"
namespace fml {
namespace paths {
std::string JoinPaths(std::initializer_list<fxl::StringView> components) {
std::string JoinPaths(std::initializer_list<std::string> components) {
std::stringstream stream;
size_t i = 0;
const size_t size = components.size();

View File

@ -8,14 +8,12 @@
#include <string>
#include <utility>
#include "lib/fxl/strings/string_view.h"
namespace fml {
namespace paths {
std::pair<bool, std::string> GetExecutableDirectoryPath();
std::string JoinPaths(std::initializer_list<fxl::StringView> components);
std::string JoinPaths(std::initializer_list<std::string> components);
} // namespace paths
} // namespace fml