Skip to content

Commit

Permalink
Re #4158 Fix warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
mdoucet committed Nov 28, 2011
1 parent fb02566 commit 0c9b1f0
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Code/Mantid/Framework/API/inc/MantidAPI/TempFunction.h
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class MANTID_API_DLL TempFunction: public virtual IFunction
virtual std::string name()const {return m_function->name();}
/// Set the workspace. Make
/// @param ws :: Shared pointer to a workspace
virtual void setWorkspace(boost::shared_ptr<const Workspace> ws) {}
virtual void setWorkspace(boost::shared_ptr<const Workspace> ws) { UNUSED_ARG(ws) }
/// Get the workspace
virtual boost::shared_ptr<const API::Workspace> getWorkspace()const {return m_function->getWorkspace();}

Expand All @@ -65,7 +65,10 @@ class MANTID_API_DLL TempFunction: public virtual IFunction

/// Function you want to fit to.
/// @param out :: The buffer for writing the calculated values. Must be big enough to accept dataSize() values
virtual void function(FunctionDomain& domain)const {throw Kernel::Exception::NotImplementedError("TempFunction not implemented.");}
virtual void function(FunctionDomain& domain)const {
UNUSED_ARG(domain)
throw Kernel::Exception::NotImplementedError("TempFunction not implemented.");
}

/// Set i-th parameter
virtual void setParameter(size_t i, const double& value, bool explicitlySet = true) {m_function->setParameter(i,value,explicitlySet);}
Expand Down

0 comments on commit 0c9b1f0

Please sign in to comment.