On Wed, Oct 24, 2012 at 01:27:40AM +0200, Lars Gullik Bjønnes wrote: > André Pönitz <andre.poen...@mathematik.tu-chemnitz.de> writes: > > | On Tue, Oct 23, 2012 at 11:14:42PM +0200, lar...@gullik.org wrote: > >> From: Lars Gullik Bjønnes <lar...@gullik.org> > >> > >> Use a local typedef pair<string, string> P to avoid having to repeat > >> that multiple times. > >> --- > >> src/lyxfind.cpp | 72 > >> ++++++++++++++++++++++++++++++++------------------------- > >> 1 file changed, 40 insertions(+), 32 deletions(-) > >> > >> diff --git a/src/lyxfind.cpp b/src/lyxfind.cpp > >> index a19724b..33dbd8a 100644 > >> --- a/src/lyxfind.cpp > >> +++ b/src/lyxfind.cpp > >> @@ -495,54 +495,62 @@ typedef vector<pair<string, string> > Escapes; > >> /// @note Beware of order > >> Escapes const & get_regexp_escapes() > >> { > >> + typedef std::pair<std::string, std::string> P; > >> + > > > | Conveniently adding a std:: or three, so next time the discussion > | comes up we can reasonably claim that it is used "inconsistently" > | and the 'using' on top could go... > > What is your agenda really?
Preventing attempts to turn the LyX code base into a guinea pig for programming experiments again. Especially the kind of experiment that add a burden for others. Andre'