Commit 7900f855 authored by Laurent Montel's avatar Laurent Montel 😁
Browse files

const'ify

parent 6a34fec4
Pipeline #176205 passed with stage
in 2 minutes and 17 seconds
......@@ -359,7 +359,7 @@ int ElementSaxParser::unit(const QString& unit) const
}
}
QList<Element*> ElementSaxParser::getElements()
QList<Element*> ElementSaxParser::getElements() const
{
return d->elements;
}
......@@ -32,7 +32,7 @@ public:
bool characters(const QString &ch) override;
QList<Element*> getElements();
QList<Element*> getElements() const;
private:
/**
......
......@@ -712,7 +712,7 @@ bool IsotopeParser::characters(const QString &ch)
return true;
}
QList<Isotope*> IsotopeParser::getIsotopes()
QList<Isotope*> IsotopeParser::getIsotopes() const
{
return d->isotopes;
}
......@@ -32,7 +32,7 @@ public:
bool characters(const QString &ch) override;
QList<Isotope*> getIsotopes();
QList<Isotope*> getIsotopes() const;
private:
class Private;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment