Index: runtime/platform/growable_array.h |
diff --git a/runtime/platform/growable_array.h b/runtime/platform/growable_array.h |
index 4a449e001fa91ac02956ed838467fd597e014ae5..b399cd9c197856a9f0ee91f3acc901b4628dcfdb 100644 |
--- a/runtime/platform/growable_array.h |
+++ b/runtime/platform/growable_array.h |
@@ -131,7 +131,6 @@ class BaseGrowableArray : public B { |
DISALLOW_COPY_AND_ASSIGN(BaseGrowableArray); |
}; |
- |
template <typename T, typename B, typename Allocator> |
inline void BaseGrowableArray<T, B, Allocator>::Sort(int compare(const T*, |
const T*)) { |
@@ -139,7 +138,6 @@ inline void BaseGrowableArray<T, B, Allocator>::Sort(int compare(const T*, |
qsort(data_, length_, sizeof(T), reinterpret_cast<CompareFunction>(compare)); |
} |
- |
template <typename T, typename B, typename Allocator> |
void BaseGrowableArray<T, B, Allocator>::Resize(intptr_t new_length) { |
if (new_length > capacity_) { |
@@ -153,7 +151,6 @@ void BaseGrowableArray<T, B, Allocator>::Resize(intptr_t new_length) { |
length_ = new_length; |
} |
- |
template <typename T, typename B, typename Allocator> |
void BaseGrowableArray<T, B, Allocator>::SetLength(intptr_t new_length) { |
if (new_length > capacity_) { |
@@ -165,7 +162,6 @@ void BaseGrowableArray<T, B, Allocator>::SetLength(intptr_t new_length) { |
length_ = new_length; |
} |
- |
class Malloc : public AllStatic { |
public: |
template <class T> |
@@ -184,10 +180,8 @@ class Malloc : public AllStatic { |
} |
}; |
- |
class EmptyBase {}; |
- |
template <typename T> |
class MallocGrowableArray : public BaseGrowableArray<T, EmptyBase, Malloc> { |
public: |