Skip to content
Snippets Groups Projects
Commit 9039727a authored by Yurov, Dmitry's avatar Yurov, Dmitry
Browse files

isEmpty method made const in Material

Redmine: #1858
parent a37eb1a1
No related branches found
No related tags found
No related merge requests found
...@@ -77,7 +77,7 @@ public: ...@@ -77,7 +77,7 @@ public:
complex_t materialData() const; complex_t materialData() const;
//! Returns true if material underlying data is nullptr //! Returns true if material underlying data is nullptr
bool isEmpty() {return !m_material_impl;} bool isEmpty() const {return !m_material_impl;}
//! Returns (\f$ \pi/\lambda^2 \f$ - sld), sld (in \f$nm^{-2}\f$) being the scattering length density //! Returns (\f$ \pi/\lambda^2 \f$ - sld), sld (in \f$nm^{-2}\f$) being the scattering length density
complex_t scalarSubtrSLD(const WavevectorInfo& wavevectors) const; complex_t scalarSubtrSLD(const WavevectorInfo& wavevectors) const;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment