From 2f5e1c1a5a3e631082d94cf270a88b9462c157d4 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Mon, 10 Feb 2003 10:31:08 +0000 Subject: [PATCH] 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 --- src/LaTeXFeatures.C | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) 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(); } -- 2.39.2