mirror of
https://github.com/ZLMediaKit/ZLMediaKit.git
synced 2024-11-22 10:40:05 +08:00
修复C++17新库std::variant导致的编译出错 (#3567)
This commit is contained in:
parent
373620cfc6
commit
f83e287c77
@ -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();
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user