Skip to content
Browse files

Added missing Stg namespace scoping to fix compile conflixt with X11 …

…Regions.
  • Loading branch information...
1 parent 324b825 commit df64619ea6fd483f5b240a78ac4dfada6161ff55 @Rezzie committed
Showing with 5 additions and 5 deletions.
  1. +5 −5 libstage/region.cc
View
10 libstage/region.cc
@@ -8,29 +8,29 @@
#include "region.hh"
using namespace Stg;
-std::vector<Stg::Cell*> Region::dead_pool;
+std::vector<Stg::Cell*> Stg::Region::dead_pool;
-Region::Region() :
+Stg::Region::Region() :
cells(NULL),
count(0),
superregion(NULL)
{
}
-Region::~Region()
+Stg::Region::~Region()
{
if( cells )
delete[] cells;
}
-void Region::AddBlock()
+void Stg::Region::AddBlock()
{
++count;
assert(count>0);
superregion->AddBlock();
}
-void Region::RemoveBlock()
+void Stg::Region::RemoveBlock()
{
--count;
assert(count>=0);

0 comments on commit df64619

Please sign in to comment.
Something went wrong with that request. Please try again.