Skip to content

Commit

Permalink
refactor: replace boost filesystem with std filesystem
Browse files Browse the repository at this point in the history
  • Loading branch information
WhiredPlanck committed Oct 5, 2023
1 parent aa517eb commit 12d52c1
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/opencc.cc
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#include <opencc/Dict.hpp>
#include <opencc/DictEntry.hpp>
#include <opencc/Common.hpp>
#include <boost/filesystem.hpp>
#include <filesystem>
#include <rime/common.h>
#include <rime_api.h>

Expand Down Expand Up @@ -129,8 +129,8 @@ vector<string> Opencc::convert_word(const string& text){
};

namespace OpenccReg {
typedef Opencc T;
namespace ns = boost::filesystem;
using T = Opencc;
namespace ns = std::filesystem;

optional<T> make(const string &filename) {
string user_path( RimeGetUserDataDir());
Expand Down

0 comments on commit 12d52c1

Please sign in to comment.