Remove some 'typename's since older versions of g++ don't like.

This commit is contained in:
Joe Thornber
2013-12-09 12:46:46 +00:00
parent ecf6692d0f
commit 7a2c41022f
5 changed files with 5 additions and 5 deletions

View File

@ -239,7 +239,7 @@ hint_array::hint_array(tm_ptr tm, unsigned width)
{
}
hint_array::hint_array(typename hint_array::tm_ptr tm, unsigned width,
hint_array::hint_array(hint_array::tm_ptr tm, unsigned width,
block_address root, unsigned nr_entries)
: width_(check_width(width)),
impl_(mk_array(tm, width, root, nr_entries))

View File

@ -56,7 +56,7 @@ namespace caching {
class hint_array {
public:
typedef boost::shared_ptr<hint_array> ptr;
typedef typename persistent_data::transaction_manager::ptr tm_ptr;
typedef persistent_data::transaction_manager::ptr tm_ptr;
hint_array(tm_ptr tm, unsigned width);
hint_array(tm_ptr tm, unsigned width, block_address root, unsigned nr_entries);

View File

@ -59,7 +59,7 @@ namespace {
virtual void mapping(pd::block_address cblock,
pd::block_address oblock,
bool dirty) {
typename caching::mapping m;
caching::mapping m;
m.oblock_ = oblock;
m.flags_ = M_VALID;