[haiku-commits] Re: r38785 - in haiku/trunk/src/apps/debugger: . user_interface/gui/teams_window

  • From: "Axel Dörfler" <axeld@xxxxxxxxxxxxxxxx>
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 22 Sep 2010 13:05:04 +0200

philippe.houdoin@xxxxxxxxx wrote:
> +                                     fTeamsWindow->Show();
> +             } catch(...) {

Missing space after catch (also at other places).

> +++ 
> haiku/trunk/src/apps/debugger/user_interface/gui/teams_window/TeamsList
View.cpp        2010-09-22 10:50:08 UTC (rev 38785)
> @@ -3,6 +3,7 @@
>   * Distributed under the terms of the MIT License.
>   */
>  
> +#include <new>

Two blank lines.

> +                     TeamListItem* item = new(std::nothrow) 
> TeamListItem(team);
> +                     if (item != NULL) {
> +                             AddItem(new TeamListItem(team));

That looks wrong, you probably wanted to write "item" here instead.

Bye,
   Axel.


Other related posts: