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

This commit is contained in:
Chinmay Garde
2018-05-18 16:43:13 -07:00
committed by GitHub
parent 2e6aad39a2
commit 7fb90810df
2 changed files with 4 additions and 4 deletions
+3 -1
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();
+1 -3
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