Skip to content

Commit

Permalink
Fix the build warning / error in Segments.hpp (string conversion).
Browse files Browse the repository at this point in the history
  • Loading branch information
BYVoid committed Jul 24, 2024
1 parent 8f3a5b4 commit 88d5864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Segments.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ class OPENCC_EXPORT Segments {
Segments() {}

Segments(std::initializer_list<const char*> initList) {
for (const std::string& item : initList) {
for (const char* item : initList) {
AddSegment(item);
}
}
Expand Down

0 comments on commit 88d5864

Please sign in to comment.