fix:修正fs使用。
This commit is contained in:
parent
12323d5148
commit
97e9192583
@ -661,7 +661,7 @@ void CClient::save_line_his(const std::string& input)
|
|||||||
std::vector<std::string> CClient::load_line_his()
|
std::vector<std::string> CClient::load_line_his()
|
||||||
{
|
{
|
||||||
std::vector<std::string> history;
|
std::vector<std::string> history;
|
||||||
if (!std::filesystem::exists(config_path_)) {
|
if (!fs::exists(config_path_)) {
|
||||||
return history;
|
return history;
|
||||||
}
|
}
|
||||||
std::ifstream in_file(config_path_, std::ios::in);
|
std::ifstream in_file(config_path_, std::ios::in);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user