Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #10 from Rezzie/master

Stg namespace scoping
  • Loading branch information...
commit d1ecc03a553130662038045ebe7c5fbe290f9319 2 parents 131ffaa + df64619
@rtv authored
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);
Please sign in to comment.
Something went wrong with that request. Please try again.