Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Stg namespace scoping #10

Merged
merged 1 commit into from

2 participants

@Rezzie

I've just added some missing Stg namespace scoping to libstage/region.cc to fix some compile conflicts with X11 Regions.

@rtv rtv merged commit d1ecc03 into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Aug 11, 2011
  1. @Rezzie
This page is out of date. Refresh to see the latest.
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);
Something went wrong with that request. Please try again.