[haiku-commits] r39864 - haiku/trunk/src/system/kernel

  • From: anevilyak@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Thu, 16 Dec 2010 04:00:23 +0100 (CET)

Author: anevilyak
Date: 2010-12-16 04:00:22 +0100 (Thu, 16 Dec 2010)
New Revision: 39864
Changeset: http://dev.haiku-os.org/changeset/39864

Modified:
   haiku/trunk/src/system/kernel/team.cpp
Log:
Fix gcc2 kernel build.



Modified: haiku/trunk/src/system/kernel/team.cpp
===================================================================
--- haiku/trunk/src/system/kernel/team.cpp      2010-12-16 01:50:27 UTC (rev 
39863)
+++ haiku/trunk/src/system/kernel/team.cpp      2010-12-16 03:00:22 UTC (rev 
39864)
@@ -737,10 +737,10 @@
 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();


Other related posts:

  • » [haiku-commits] r39864 - haiku/trunk/src/system/kernel - anevilyak