From 290899e9c0969013f27579cce3008288e7967ecf Mon Sep 17 00:00:00 2001 From: voluntas Date: Tue, 16 Jan 2024 14:37:29 +0900 Subject: [PATCH] =?UTF-8?q?std::string=20=E3=81=A7=E5=8D=81=E5=88=86?= =?UTF-8?q?=E3=81=A8=E3=81=AE=E3=81=93=E3=81=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/sora.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/sora.cpp b/src/sora.cpp index 2d2475ca..d798c53c 100644 --- a/src/sora.cpp +++ b/src/sora.cpp @@ -269,7 +269,7 @@ Sora::ConvertForwardingFilter(const nb::handle value) { try { auto object = forwarding_filter_value.as_object(); - filter.action = boost::optional(object["action"].as_string()); + filter.action = std::string(object["action"].as_string()); for (auto or_rule : object["rules"].as_array()) { std::vector rules; for (auto and_rule_value : or_rule.as_array()) {