Skip to content

Commit

Permalink
Remove the only user of fxl::StringView in FML. (flutter#5314)
Browse files Browse the repository at this point in the history
  • Loading branch information
chinmaygarde authored May 18, 2018
1 parent 2e6aad3 commit 7fb9081
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 3 additions & 1 deletion fml/paths.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
4 changes: 1 addition & 3 deletions fml/paths.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7fb9081

Please sign in to comment.