Skip to content

Commit

Permalink
std::string で十分とのこと
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 16, 2024
1 parent 3f6a2b1 commit 290899e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sora.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -269,7 +269,7 @@ Sora::ConvertForwardingFilter(const nb::handle value) {

try {
auto object = forwarding_filter_value.as_object();
filter.action = boost::optional<std::string>(object["action"].as_string());
filter.action = std::string(object["action"].as_string());
for (auto or_rule : object["rules"].as_array()) {
std::vector<sora::SoraSignalingConfig::ForwardingFilter::Rule> rules;
for (auto and_rule_value : or_rule.as_array()) {
Expand Down

0 comments on commit 290899e

Please sign in to comment.