diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-09-24 14:35:21 +0100 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2016-09-24 14:35:21 +0100 |
commit | 01825bc1f7f423db89f0f167f6ab87b064ea33f3 (patch) | |
tree | c514e3df4d52df0c3fb8c8cb37a445b01bffdb0a | |
parent | Parameters should be a map, not a list (diff) | |
download | icespider-01825bc1f7f423db89f0f167f6ab87b064ea33f3.tar.bz2 icespider-01825bc1f7f423db89f0f167f6ab87b064ea33f3.tar.xz icespider-01825bc1f7f423db89f0f167f6ab87b064ea33f3.zip |
Slicer 1.4 compatibility fix
-rw-r--r-- | icespider/fcgi/cgiRequestBase.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/icespider/fcgi/cgiRequestBase.cpp b/icespider/fcgi/cgiRequestBase.cpp index d77fb84..0b63997 100644 --- a/icespider/fcgi/cgiRequestBase.cpp +++ b/icespider/fcgi/cgiRequestBase.cpp @@ -4,6 +4,7 @@ #include <boost/algorithm/string/classification.hpp> #include <util.h> #include <slicer/modelPartsTypes.h> +#include <slicer/common.h> namespace ba = boost::algorithm; @@ -81,7 +82,7 @@ namespace IceSpider { return Slicer::ModelPartForEnum<HttpMethod>::lookup( std::string(std::get<0>(i->second), std::get<1>(i->second))); } - catch (const Slicer::InvalidEnumerationValue &) { + catch (const Slicer::InvalidEnumerationSymbol &) { throw IceSpider::Http405_MethodNotAllowed(); } } |