diff options
| author | 2015-10-19 17:20:53 +0000 | |
|---|---|---|
| committer | 2015-10-19 17:20:53 +0000 | |
| commit | a31e53f83cf7c773bd506bb4b7d28f73e92a391a (patch) | |
| tree | bdd6b0199605d07bd65ff4a43291a5e4aba3ac55 | |
| parent | 2261d465990dd7d46496c074fde7349e9bacb79e (diff) | |
| parent | 722fa98e0ed3796575930eb8e3d5fc89046f01cc (diff) | |
Merge "ART: Replace an "ALWAYS_INLINE" with "inline" to fix build."
| -rw-r--r-- | runtime/oat_file.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/runtime/oat_file.cc b/runtime/oat_file.cc index 80c103e366..a162a4ea72 100644 --- a/runtime/oat_file.cc +++ b/runtime/oat_file.cc @@ -412,9 +412,9 @@ bool OatFile::ElfFileOpen(File* file, uint8_t* requested_base, uint8_t* oat_file // position by the number of bytes read, i.e. sizeof(T). // Return true on success, false if the read would go beyond the end of the OatFile. template <typename T> -ALWAYS_INLINE static bool ReadOatDexFileData(const OatFile& oat_file, - /*inout*/const uint8_t** oat, - /*out*/T* value) { +inline static bool ReadOatDexFileData(const OatFile& oat_file, + /*inout*/const uint8_t** oat, + /*out*/T* value) { DCHECK(oat != nullptr); DCHECK(value != nullptr); DCHECK_LE(*oat, oat_file.End()); |