From b3176acd5fa7a35cee7b6722cd5869f13542afdd Mon Sep 17 00:00:00 2001 From: Romain Guy Date: Wed, 28 Nov 2012 12:59:40 -0800 Subject: [PATCH] Add #ifndef to prevent multiple definitions Change-Id: Ib861eee0f333fe29290437b7e67623622d8dabd0 --- include/utils/LruCache.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/include/utils/LruCache.h b/include/utils/LruCache.h index af3931596..2a70d760a 100644 --- a/include/utils/LruCache.h +++ b/include/utils/LruCache.h @@ -14,6 +14,9 @@ * limitations under the License. */ +#ifndef ANDROID_UTILS_LRU_CACHE_H +#define ANDROID_UTILS_LRU_CACHE_H + #include #include #include @@ -197,3 +200,5 @@ void LruCache::rehash(size_t newCapacity) { } } + +#endif // ANDROID_UTILS_LRU_CACHE_H