From 7f517831fd5128da1a158ab8d2b27229f9e2a587 Mon Sep 17 00:00:00 2001 From: Pete Peterson Date: Tue, 20 May 2014 11:52:07 -0400 Subject: [PATCH] Re #9483. Getting rid of doxygen warnings. --- .../Mantid/Framework/MDEvents/src/MDEventFactory.cpp | 3 ++- .../src/WorkflowAlgorithmHelpers.cpp | 12 ++++++------ 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp b/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp index e8e0528cf11c..faac5ddf1457 100644 --- a/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp +++ b/Code/Mantid/Framework/MDEvents/src/MDEventFactory.cpp @@ -267,8 +267,9 @@ namespace Mantid * @param eventType -- type of event (lean or full) to generate workspace for - -does not actually used. */ template<> - API::IMDEventWorkspace * MDEventFactory::createMDWorkspaceND<0>(const std::string & /*eventType*/) + API::IMDEventWorkspace * MDEventFactory::createMDWorkspaceND<0>(const std::string & eventType) { + UNUSED_ARG(eventType); throw std::invalid_argument("Workspace can not have 0 dimensions"); } //-------------------------------------------------------------- MD BOX constructor wrapper diff --git a/Code/Mantid/Framework/WorkflowAlgorithms/src/WorkflowAlgorithmHelpers.cpp b/Code/Mantid/Framework/WorkflowAlgorithms/src/WorkflowAlgorithmHelpers.cpp index 69a5fdd4bf4c..7d61c44b3629 100644 --- a/Code/Mantid/Framework/WorkflowAlgorithms/src/WorkflowAlgorithmHelpers.cpp +++ b/Code/Mantid/Framework/WorkflowAlgorithms/src/WorkflowAlgorithmHelpers.cpp @@ -20,8 +20,8 @@ namespace WorkflowAlgorithmHelpers * @param overrideValue : A provided override value to hand back if nothing is found * @return : Either the algorithm property or an instrument parameter. */ - double getDblPropOrParam(const std::string &pmProp, Kernel::PropertyManager_sptr &pm, - const std::string &instParam, API::MatrixWorkspace_sptr &ws, + double getDblPropOrParam(const std::string &pmProp, Mantid::Kernel::PropertyManager_sptr &pm, + const std::string &instParam, Mantid::API::MatrixWorkspace_sptr &ws, const double overrideValue) { double defaultValue = EMPTY_DBL(); @@ -67,8 +67,8 @@ namespace WorkflowAlgorithmHelpers * @param overrideValue : A provided override value to hand back if nothing is found * @return : Either the algorithm property or an instrument parameter. */ - int getIntPropOrParam(const std::string &pmProp, Kernel::PropertyManager_sptr &pm, - const std::string &instParam, API::MatrixWorkspace_sptr &ws, + int getIntPropOrParam(const std::string &pmProp, Mantid::Kernel::PropertyManager_sptr &pm, + const std::string &instParam, Mantid::API::MatrixWorkspace_sptr &ws, const int overrideValue) { int defaultValue = EMPTY_INT(); @@ -116,8 +116,8 @@ namespace WorkflowAlgorithmHelpers * @param overrideValue : A provided override value to hand back if nothing is found * @return : Either the algorithm property or an instrument parameter. */ - bool getBoolPropOrParam(const std::string &pmProp, Kernel::PropertyManager_sptr &pm, - const std::string &instParam, API::MatrixWorkspace_sptr &ws, + bool getBoolPropOrParam(const std::string &pmProp, Mantid::Kernel::PropertyManager_sptr &pm, + const std::string &instParam, Mantid::API::MatrixWorkspace_sptr &ws, const bool overrideValue) { bool defaultValue = false;