summaryrefslogtreecommitdiffstats
path: root/src/page.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/page.h')
-rw-r--r--src/page.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/page.h b/src/page.h
index 11136c9..0d37962 100644
--- a/src/page.h
+++ b/src/page.h
@@ -49,10 +49,13 @@ class PageSDict : public SDict<PageInfo>
}
};
-class PageSDictIterator : public SDict<PageInfo>::Iterator
+// typedef is to get around Solaris compile problem
+typedef SDict<PageInfo>::Iterator _SDictPageInfoIterator;
+
+class PageSDictIterator : public _SDictPageInfoIterator
{
public:
- PageSDictIterator(const PageSDict &d) : SDict<PageInfo>::Iterator(d) {}
+ PageSDictIterator(const PageSDict &d) : _SDictPageInfoIterator(d) {}
~PageSDictIterator() {}
};