Created
July 1, 2016 04:53
-
-
Save midned/c01817a24bd2ceaa47ea3401a6b14b4e to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
inline constexpr bool isSpecialScheme(const char* scheme) { | |
return scheme == "ftp" || scheme == "file" || scheme == "gopher" || scheme == "http" || scheme == "https" || scheme == "ws" || scheme == "wss"; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment