[PATCH 1/3] lib: Kill last usage of C++ type bool
Austin Clements
amdragon at MIT.EDU
Sat Jul 16 11:32:36 PDT 2011
Quoth Felipe Contreras on Jul 16 at 9:06 pm:
> On Tue, Jul 12, 2011 at 4:59 PM, Louis Rilling <l.rilling at av7.net> wrote:
> > Signed-off-by: Louis Rilling <l.rilling at av7.net>
> > ---
> > lib/message.cc | 12 ++++++------
> > 1 files changed, 6 insertions(+), 6 deletions(-)
> >
> > diff --git a/lib/message.cc b/lib/message.cc
> > index d993cde..cf651e5 100644
> > --- a/lib/message.cc
> > +++ b/lib/message.cc
> > @@ -49,16 +49,16 @@ struct visible _notmuch_message {
> > struct maildir_flag_tag {
> > char flag;
> > const char *tag;
> > - bool inverse;
> > + notmuch_bool_t inverse;
>
> That's not C++, that's C99.
Here it's C++. But what's actually interesting is that this is the
only place where libnotmuch strays from completely consistent use of
notmuch_bool_t.
More information about the notmuch
mailing list