diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2018-05-16 08:20:09 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2019-01-14 21:08:02 +0000 |
commit | 23f95e1c99b3983596048a65d0fef5b02c91e8ba (patch) | |
tree | 4da42956a129ce0ea57748c0c1fb3dc0f818e9a3 /icespider/testing/testRequest.cpp | |
parent | Cut 3 string_view (accept parser) (diff) | |
download | icespider-23f95e1c99b3983596048a65d0fef5b02c91e8ba.tar.bz2 icespider-23f95e1c99b3983596048a65d0fef5b02c91e8ba.tar.xz icespider-23f95e1c99b3983596048a65d0fef5b02c91e8ba.zip |
Cut 4 string_view everything else
Use std::optional and std::string_view throughout the CGI parser and
core. Removes some of the hacks and tidies up some of the error
handling.
Diffstat (limited to 'icespider/testing/testRequest.cpp')
-rw-r--r-- | icespider/testing/testRequest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/icespider/testing/testRequest.cpp b/icespider/testing/testRequest.cpp index 11fd721..1c0d9cb 100644 --- a/icespider/testing/testRequest.cpp +++ b/icespider/testing/testRequest.cpp @@ -62,7 +62,7 @@ namespace IceSpider { { auto i = vars.find(key); if (i == vars.end()) { - return IceUtil::None; + return {}; } return i->second; } |