Skip to content

Commit

Permalink
修复C++17新库std::variant导致的编译出错 (#3567)
Browse files Browse the repository at this point in the history
  • Loading branch information
mc373906408 committed May 23, 2024
1 parent 373620c commit f83e287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/WebApi.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1766,7 +1766,7 @@ void installWebApi() {
, _session_id(std::move(session_id)) {}
~WebRtcArgsImp() override = default;

variant operator[](const string &key) const override {
toolkit::variant operator[](const string &key) const override {
if (key == "url") {
return getUrl();
}
Expand Down

0 comments on commit f83e287

Please sign in to comment.