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:
@@ -737,10 +737,10 @@ set_team_name(struct team* team, const char* name)
|
|||||||
static struct team*
|
static struct team*
|
||||||
create_team_struct(const char* name, bool kernel)
|
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)
|
if (team == NULL)
|
||||||
return NULL;
|
return NULL;
|
||||||
ObjectDeleter<struct team> teamDeleter(team);
|
ObjectDeleter< ::team> teamDeleter(team);
|
||||||
|
|
||||||
team->next = team->siblings_next = team->children = team->parent = NULL;
|
team->next = team->siblings_next = team->children = team->parent = NULL;
|
||||||
team->id = allocate_thread_id();
|
team->id = allocate_thread_id();
|
||||||
|
|||||||
Reference in New Issue
Block a user