$NetBSD: patch-ae,v 1.1 2006/01/15 20:34:13 joerg Exp $

--- libvideogfx/containers/heap.icc.orig	2006-01-15 20:22:18.000000000 +0000
+++ libvideogfx/containers/heap.icc
@@ -35,7 +35,7 @@ template <class T> void Heap<T>::Insert(
 
   if (d_entries==d_size)
     {
-      int newsize = max(max(d_size*2,d_size+10),INITIAL_HEAP_SIZE);
+      int newsize = this->max(this->max(d_size*2,d_size+10),INITIAL_HEAP_SIZE);
       assert(newsize>d_size);
 
       T* newheap = new T[newsize+1]; // Create array for new heap including an extra dummy element [0].
