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...

Andre'

Reply via email to