diff options
author | David Tardon <dtardon@redhat.com> | 2015-03-01 17:06:38 +0100 |
---|---|---|
committer | David Tardon <dtardon@redhat.com> | 2015-03-01 17:33:59 +0100 |
commit | 79143802420796074cebc07d133f75458205bd1a (patch) | |
tree | a1372d820517f13ef795f8a43c4dceb659217617 /lingucomponent | |
parent | c6ad44c180667d27b79781e9cf0b6db0eb9053dd (diff) |
use initializer list here too
Change-Id: I30e4374dc44a58cb1b7315e3d7bfbed99c77030a
Diffstat (limited to 'lingucomponent')
-rw-r--r-- | lingucomponent/source/languageguessing/guess.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/lingucomponent/source/languageguessing/guess.cxx b/lingucomponent/source/languageguessing/guess.cxx index 9c16750a1f70..833d6032f5d4 100644 --- a/lingucomponent/source/languageguessing/guess.cxx +++ b/lingucomponent/source/languageguessing/guess.cxx @@ -40,10 +40,10 @@ using namespace std; Guess::Guess() + : language_str(DEFAULT_LANGUAGE) + , country_str(DEFAULT_COUNTRY) + , encoding_str(DEFAULT_ENCODING) { - language_str = DEFAULT_LANGUAGE; - country_str = DEFAULT_COUNTRY; - encoding_str = DEFAULT_ENCODING; } /* |