Le 06/07/2017 à 14:55, Jean-Marc Lasgouttes a écrit :
Le 06/07/2017 à 14:52, Jean-Marc Lasgouttes a écrit :
commit 02c9d2e67c16400588dfb103df284121520912a0
Author: Jean-Marc Lasgouttes <lasgout...@lyx.org>
Date:   Thu Jul 6 14:46:03 2017 +0200

     Fix uninitialized members outfd and infd
     Also move initialization of some variables to initializers list.

Question for someone who groks C++11: instead of using initializer lists, should we use default initialization in the the class definition?

Yes, I thought it was a good idea at some point...


E.g. replace ready_(false) in constructor(s) by
   bool ready = false;
in the class definition. C++11 allows it AFAIU.

gcc 4.6 :)

Guillaume

Reply via email to