Commit 9d8ce3df authored by Jean-Francois Dockes's avatar Jean-Francois Dockes
Browse files

aspell: use const rclconfig

parent 5dab03da
......@@ -103,7 +103,7 @@ public:
AspellSpeller *m_speller;
};
Aspell::Aspell(RclConfig *cnf)
Aspell::Aspell(const RclConfig *cnf)
: m_config(cnf), m_data(0)
{
}
......
......@@ -41,7 +41,7 @@ class AspellData;
class Aspell {
public:
Aspell(RclConfig *cnf);
Aspell(const RclConfig *cnf);
~Aspell();
/** Check health */
......@@ -68,7 +68,7 @@ class Aspell {
private:
std::string dicPath();
RclConfig *m_config;
const RclConfig *m_config;
std::string m_lang;
AspellData *m_data;
......
Markdown is supported
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