You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ThrowInvalidURL takes an std::optional<std::string> as third parameter. Passing nullptr constructs a std::string from that null pointer, this is undefined behaviour (upgraded to ill-formed in C++23). At a glance, it would seem that std::nullopt was the intended third argument.
The text was updated successfully, but these errors were encountered:
node/src/node_url.cc
Line 164 in a724a9e
ThrowInvalidURL
takes anstd::optional<std::string>
as third parameter. Passingnullptr
constructs astd::string
from that null pointer, this is undefined behaviour (upgraded to ill-formed in C++23). At a glance, it would seem thatstd::nullopt
was the intended third argument.The text was updated successfully, but these errors were encountered: