diff --git a/Code/Mantid/API/inc/MantidAPI/MatrixWorkspace.h b/Code/Mantid/API/inc/MantidAPI/MatrixWorkspace.h index a73dbb63b5cd60cefb679987d7a317a3de443baf..411609ed7e4cec629559f5ac884aa9cd5b25d4b7 100644 --- a/Code/Mantid/API/inc/MantidAPI/MatrixWorkspace.h +++ b/Code/Mantid/API/inc/MantidAPI/MatrixWorkspace.h @@ -145,7 +145,7 @@ public: //---------------------------------------------------------------------- int axes() const; - Axis* const getAxis(const int& axisIndex) const; + Axis* getAxis(const int& axisIndex) const; void replaceAxis(const int& axisIndex, Axis* const newAxis); /// Returns true if the workspace contains data in histogram form (as opposed to point-like) diff --git a/Code/Mantid/API/src/MatrixWorkspace.cpp b/Code/Mantid/API/src/MatrixWorkspace.cpp index 06b580b2f71fd5ba6e4693ac2575801fec9f0cd5..105809f0145b23626dc1fb6e3468c8458e3c7690 100644 --- a/Code/Mantid/API/src/MatrixWorkspace.cpp +++ b/Code/Mantid/API/src/MatrixWorkspace.cpp @@ -240,7 +240,7 @@ int MatrixWorkspace::axes() const * @param axisIndex The index of the axis required * @throw IndexError If the argument given is outside the range of axes held by this workspace */ -Axis* const MatrixWorkspace::getAxis(const int& axisIndex) const +Axis* MatrixWorkspace::getAxis(const int& axisIndex) const { if ( axisIndex < 0 || axisIndex >= static_cast<int>(m_axes.size()) ) { diff --git a/Code/Mantid/Kernel/inc/MantidKernel/FilterChannel.h b/Code/Mantid/Kernel/inc/MantidKernel/FilterChannel.h index f67e828d4b2a819845e2874b38a8989591d70774..feb163a0f68b7b18cdcccd8ad4647e9a5552bff3 100644 --- a/Code/Mantid/Kernel/inc/MantidKernel/FilterChannel.h +++ b/Code/Mantid/Kernel/inc/MantidKernel/FilterChannel.h @@ -65,7 +65,7 @@ public: const FilterChannel& setPriority(const std::string& priority); /// Returns the integer representation of the priority - const unsigned int getPriority() const { return _priority; } + unsigned int getPriority() const { return _priority; } /// Sends the given Message to the attached channel. void log(const Message& msg);