Index: uspace/lib/cpp/include/internal/hash_table.hpp
===================================================================
--- uspace/lib/cpp/include/internal/hash_table.hpp	(revision f63bef0f0d20ab7b382d0966e85fe7ea0e50777b)
+++ uspace/lib/cpp/include/internal/hash_table.hpp	(revision 275bdafbb1c30894f0e32bb51ae0269c6954271f)
@@ -146,8 +146,7 @@
             }
 
-            template<class Allocator>
-            size_type max_size(Allocator& alloc)
-            {
-                return allocator_traits<Allocator>::max_size(alloc);
+            size_type max_size(allocator_type& alloc)
+            {
+                return allocator_traits<allocator_type>::max_size(alloc);
             }
 
