model: Some compilers got confused with "typedef policy policy". Renaming the typedefed name to policy_base
Closes #15
diff --git a/utils/trie/freshness-policy.h b/utils/trie/freshness-policy.h
index eec8400..e123d73 100644
--- a/utils/trie/freshness-policy.h
+++ b/utils/trie/freshness-policy.h
@@ -84,7 +84,7 @@
class type : public policy_container
{
public:
- typedef policy policy; // to get access to get_freshness methods from outside
+ typedef policy policy_base; // to get access to get_freshness methods from outside
typedef Container parent_trie;
type (Base &base)
diff --git a/utils/trie/lifetime-stats-policy.h b/utils/trie/lifetime-stats-policy.h
index ade48cc..12906ca 100644
--- a/utils/trie/lifetime-stats-policy.h
+++ b/utils/trie/lifetime-stats-policy.h
@@ -72,7 +72,7 @@
class type : public policy_container
{
public:
- typedef policy policy; // to get access to get_time methods from outside
+ typedef policy policy_base; // to get access to get_time methods from outside
typedef Container parent_trie;
type (Base &base)
diff --git a/utils/trie/multi-policy.h b/utils/trie/multi-policy.h
index 0745cd3..e662aff 100644
--- a/utils/trie/multi-policy.h
+++ b/utils/trie/multi-policy.h
@@ -87,6 +87,7 @@
class type : public policy_container
{
public:
+ typedef policy policy_base; // to get access to get_time methods from outside
typedef Container parent_trie;
type (Base &base)
diff --git a/utils/trie/random-policy.h b/utils/trie/random-policy.h
index b5e1d8a..1a7308c 100644
--- a/utils/trie/random-policy.h
+++ b/utils/trie/random-policy.h
@@ -82,7 +82,7 @@
class type : public policy_container
{
public:
- typedef policy policy; // to get access to get_order methods from outside
+ typedef policy policy_base; // to get access to get_order methods from outside
typedef Container parent_trie;
type (Base &base)