Add #ifndef to prevent multiple definitions

Change-Id: Ib861eee0f333fe29290437b7e67623622d8dabd0
This commit is contained in:
Romain Guy 2012-11-28 12:59:40 -08:00 committed by Alex Ray
parent 45ad8f44d0
commit b3176acd5f

View file

@ -14,6 +14,9 @@
* limitations under the License.
*/
#ifndef ANDROID_UTILS_LRU_CACHE_H
#define ANDROID_UTILS_LRU_CACHE_H
#include <utils/BasicHashtable.h>
#include <utils/GenerationCache.h>
#include <utils/UniquePtr.h>
@ -197,3 +200,5 @@ void LruCache<TKey, TValue>::rehash(size_t newCapacity) {
}
}
#endif // ANDROID_UTILS_LRU_CACHE_H