Re: [PATCH 1/3] lib: Kill last usage of C++ type bool

Subject: Re: [PATCH 1/3] lib: Kill last usage of C++ type bool

Date: Sat, 16 Jul 2011 21:06:43 +0300

To: Louis Rilling

Cc: Austin Clements, notmuch@notmuchmail.org

From: Felipe Contreras


On Tue, Jul 12, 2011 at 4:59 PM, Louis Rilling <l.rilling@av7.net> wrote:
> Signed-off-by: Louis Rilling <l.rilling@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.

-- 
Felipe Contreras

Thread: