-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
74fa861
commit 6c2884c
Showing
2 changed files
with
16 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -10,6 +10,7 @@ Author: 李柯鹏 <[email protected]> | |
#include <memory> | ||
#include <string> | ||
#include <vector> | ||
#include <string_view> | ||
#if __has_include(<filesystem>) | ||
#include <filesystem> | ||
namespace stdfs = std::filesystem; | ||
|
@@ -31,7 +32,7 @@ class MYFRAME_EXPORT Common final { | |
static stdfs::path GetAbsolutePath(const std::string& flag_path); | ||
static bool IsAbsolutePath(const std::string& path); | ||
|
||
static std::vector<std::string> SplitMsgName(const std::string& name); | ||
static std::vector<std::string_view> SplitMsgName(const std::string& name); | ||
}; | ||
|
||
} // namespace myframe |