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

Felipe Contreras felipe.contreras at gmail.com
Sat Jul 16 11:06:43 PDT 2011


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.

-- 
Felipe Contreras


More information about the notmuch mailing list