Commit 08808aa0 authored by Luciano Orsini's avatar Luciano Orsini
Browse files

references #122: porting to c++11 for psx package

parent dd4f909b
......@@ -74,8 +74,8 @@ class Application: public xdaq::Application, public xgi::framework::UIManager,
xoap::MessageReference onSMIRequest (xoap::MessageReference msg) ;
// soap meta data
xoap::MessageReference getWinCCOASubscriptions (xoap::MessageReference msg) throw (xoap::exception::Exception);
xoap::MessageReference getSMISubscriptions (xoap::MessageReference msg) throw (xoap::exception::Exception);
xoap::MessageReference getWinCCOASubscriptions (xoap::MessageReference msg);
xoap::MessageReference getSMISubscriptions (xoap::MessageReference msg);
// event listener for parameterization
void actionPerformed (xdata::Event& e) ;
......
......@@ -258,7 +258,7 @@ void psx::Application::actionWinCCOA(xgi::Input * in, xgi::Output * out )
{
XCEPT_RETHROW (xgi::exception::Exception, "Failed to process invalid CGI request", e);
}
catch (std::exception e)
catch (std::exception & e)
{
std::string msg = "Failed to interpret incoming CGI content, reason ";
msg += e.what();
......@@ -382,7 +382,7 @@ void psx::Application::actionSMI(xgi::Input * in, xgi::Output * out )
{
XCEPT_RETHROW (xgi::exception::Exception, "Failed to process invalid CGI request", e);
}
catch (std::exception e)
catch (std::exception & e)
{
std::string msg = "Failed to interpret incoming CGI content, reason ";
msg += e.what();
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment