mirror of
https://github.com/encounter/engine.git
synced 2026-03-30 11:09:55 -07:00
Remove the only user of fxl::StringView in FML. (#5314)
This commit is contained in:
+3
-1
@@ -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
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user