From aaaf6acb2df69013855197e3bb62139aefb80972 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Spitzm=C3=BCller?= Date: Tue, 9 Feb 2010 11:52:06 +0000 Subject: [PATCH] * WordLangTuple.h: better initialization. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@33379 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/WordLangTuple.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/WordLangTuple.h b/src/WordLangTuple.h index 9e1aecd105..51a72bf310 100644 --- a/src/WordLangTuple.h +++ b/src/WordLangTuple.h @@ -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 {