Skip to content

Commit

Permalink
Fix Intel compiler warning. Re #3868.
Browse files Browse the repository at this point in the history
  • Loading branch information
RussellTaylor committed Nov 28, 2011
1 parent 1a67035 commit fec23dd
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ template<size_t nd,Q_state Q>
void ConvertToQNDany::process_QND(API::IMDEventWorkspace *const piWS)
{

MDEvents::MDEventWorkspace<MDEvents::MDEvent<nd>,nd> *const pWs = dynamic_cast<MDEvents::MDEventWorkspace<MDEvents::MDEvent<nd>,nd> *const>(piWS);
MDEvents::MDEventWorkspace<MDEvents::MDEvent<nd>,nd> *const pWs = dynamic_cast<MDEvents::MDEventWorkspace<MDEvents::MDEvent<nd>,nd> *>(piWS);
if(!pWs){
g_log.error()<<"ConvertToQNDany: can not cast input worspace pointer into pointer to proper target workspace\n";
throw(std::bad_cast());
Expand Down

0 comments on commit fec23dd

Please sign in to comment.