修复C++17新库std::variant导致的编译出错 (#3567)

This commit is contained in:
waken 2024-05-23 17:36:56 +08:00 committed by GitHub
parent 373620cfc6
commit f83e287c77
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -1766,7 +1766,7 @@ void installWebApi() {
, _session_id(std::move(session_id)) {} , _session_id(std::move(session_id)) {}
~WebRtcArgsImp() override = default; ~WebRtcArgsImp() override = default;
variant operator[](const string &key) const override { toolkit::variant operator[](const string &key) const override {
if (key == "url") { if (key == "url") {
return getUrl(); return getUrl();
} }