diff options
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guess.hxx | 4 | ||||
-rw-r--r-- | lingucomponent/source/languageguessing/simpleguesser.hxx | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/lingucomponent/source/languageguessing/guess.hxx b/lingucomponent/source/languageguessing/guess.hxx index 7af5f38c70a7..eeb7aa192671 100644 --- a/lingucomponent/source/languageguessing/guess.hxx +++ b/lingucomponent/source/languageguessing/guess.hxx @@ -33,7 +33,7 @@ using namespace std; /** @author Jocelyn Merand */ -class Guess{ +class Guess final { public: /** @@ -51,7 +51,7 @@ class Guess{ const string& GetLanguage() { return language_str;} const string& GetCountry() { return country_str;} - protected: + private: string language_str; string country_str; string encoding_str; diff --git a/lingucomponent/source/languageguessing/simpleguesser.hxx b/lingucomponent/source/languageguessing/simpleguesser.hxx index 39a83ec71522..5ce3e2930740 100644 --- a/lingucomponent/source/languageguessing/simpleguesser.hxx +++ b/lingucomponent/source/languageguessing/simpleguesser.hxx @@ -32,7 +32,7 @@ using namespace std; /** @author Jocelyn Merand */ -class SimpleGuesser{ +class SimpleGuesser final { public: /**inits the object with conf file "./conf.txt"*/ SimpleGuesser(); @@ -98,7 +98,7 @@ public: */ void SetDBPath(const char* thePathOfConfFile, const char* prefix); -protected: +private: //Where typical fingerprints (n-gram tables) are stored void* h; |