Fix gcc2 kernel build.

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@39864 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent 2010-12-16 03:00:22 +00:00
parent 09d6a5822a
commit 03a4f3aff3

View File

@ -737,10 +737,10 @@ set_team_name(struct team* team, const char* name)
static struct team*
create_team_struct(const char* name, bool kernel)
{
struct team* team = new(std::nothrow) struct team;
::team* team = new(std::nothrow) ::team;
if (team == NULL)
return NULL;
ObjectDeleter<struct team> teamDeleter(team);
ObjectDeleter< ::team> teamDeleter(team);
team->next = team->siblings_next = team->children = team->parent = NULL;
team->id = allocate_thread_id();