From 6b6ad10ba08f627cbddcb32f44e314e2088e21e6 Mon Sep 17 00:00:00 2001 From: ksherlock Date: Tue, 15 Feb 2011 04:00:54 +0000 Subject: [PATCH] move typedef for clang compatibility. git-svn-id: https://profuse.googlecode.com/svn/branches/v2@324 aa027e90-d47c-11dd-86d7-074df07e0730 --- Cache/ConcreteBlockCache.cpp | 2 +- Cache/ConcreteBlockCache.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cache/ConcreteBlockCache.cpp b/Cache/ConcreteBlockCache.cpp index 5bd77b3..5e0bd69 100644 --- a/Cache/ConcreteBlockCache.cpp +++ b/Cache/ConcreteBlockCache.cpp @@ -55,7 +55,7 @@ using ProFUSE::Exception; using ProFUSE::POSIXException; -typedef std::vector::iterator EntryIter; +//typedef std::vector::iterator EntryIter; diff --git a/Cache/ConcreteBlockCache.h b/Cache/ConcreteBlockCache.h index de46b8b..2ca5698 100644 --- a/Cache/ConcreteBlockCache.h +++ b/Cache/ConcreteBlockCache.h @@ -36,6 +36,8 @@ private: }; + typedef std::vector::iterator EntryIter; + enum { HashTableSize = 23 }; std::vector_buffers;