mirror of
https://github.com/flutter/flutter.git
synced 2026-02-20 02:29:02 +08:00
Remove the only user of fxl::StringView in FML. (flutter/engine#5314)
This commit is contained in:
parent
407cfd2aa9
commit
1dddd111f6
@ -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();
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user