]> git.lyx.org Git - features.git/commitdiff
* WordLangTuple.h: better initialization.
authorJürgen Spitzmüller <spitz@lyx.org>
Tue, 9 Feb 2010 11:52:06 +0000 (11:52 +0000)
committerJürgen Spitzmüller <spitz@lyx.org>
Tue, 9 Feb 2010 11:52:06 +0000 (11:52 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33379 a592a061-630c-0410-9148-cb99ea01b6c8

src/WordLangTuple.h

index 9e1aecd1056217b80f9e001a405ec19db4e47755..51a72bf310620881dcd5fceef6e698af291c334b 100644 (file)
@@ -30,10 +30,8 @@ public:
        WordLangTuple() {}
 
        WordLangTuple(docstring const & w, Language * l)
-               : word_(w)
-       {
-               lang_ = l;
-       }
+               : word_(w), lang_(l)
+       {}
 
        /// return the word
        docstring const & word() const {