Skip to content

Commit

Permalink
action が optional になったので boost:optional にする
Browse files Browse the repository at this point in the history
  • Loading branch information
voluntas committed Jan 16, 2024
1 parent f23e7ae commit 3f6a2b1
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 = object["action"].as_string();
filter.action = boost::optional<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 3f6a2b1

Please sign in to comment.