From: André Pönitz Date: Mon, 10 Feb 2003 10:31:08 +0000 (+0000) Subject: small change: make code a bit more compact X-Git-Tag: 1.6.10~17576 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=2f5e1c1a5a3e631082d94cf270a88b9462c157d4;p=features.git small change: make code a bit more compact git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@6081 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/LaTeXFeatures.C b/src/LaTeXFeatures.C index bed69c6c1e..efeef10a4c 100644 --- a/src/LaTeXFeatures.C +++ b/src/LaTeXFeatures.C @@ -91,10 +91,7 @@ void LaTeXFeatures::useLayout(string const & layoutname) bool LaTeXFeatures::isRequired(string const & name) const { - FeaturesList::const_iterator i = find(features.begin(), - features.end(), - name); - return i != features.end(); + return find(features.begin(), features.end(), name) != features.end(); }