Re: Paragraph::id()

2016-07-10 Thread Guillaume Munch
neration atomic. >From 5d240938e3a9cffea833771e2e6b783368126d10 Mon Sep 17 00:00:00 2001 From: Guillaume Munch <g...@lyx.org> Date: Sun, 10 Jul 2016 16:50:19 +0100 Subject: [PATCH] Make paragraph id increment atomic (Note: requires MSVC >= 2015) --- src/Paragraph.cpp | 33

Re: Paragraph::id()

2016-07-10 Thread Guillaume Munch
Le 09/07/2016 22:23, Richard Heck a écrit : If I do: onePar.id() == otherPar.id() will that do what I obviously want it to do? I.e., work as a proxy for: onePar == otherPar ?? After reading the code, I think that: onePar.id() == otherPar.id() is equivalent to onePar ==

Paragraph::id()

2016-07-09 Thread Richard Heck
If I do: onePar.id() == otherPar.id() will that do what I obviously want it to do? I.e., work as a proxy for: onePar == otherPar ?? Richard