[haiku-commits] Re: haiku: hrev43348 - src/kits/tracker

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Mon, 28 Nov 2011 12:01:30 +0100 (MET)

stpere@xxxxxxxxx wrote:
> -             throw B_ERROR;
> +             throw(status_t) B_ERROR;

"(status_t)" is a cast, not a function argument to throw - it should be written 
this way instead:
        throw (status_t)B_ERROR;

Bye,
   Axel.


Other related posts: