diff options
| author | 2015-10-19 18:18:27 +0100 | |
|---|---|---|
| committer | 2015-10-19 18:18:27 +0100 | |
| commit | 722fa98e0ed3796575930eb8e3d5fc89046f01cc (patch) | |
| tree | bdd6b0199605d07bd65ff4a43291a5e4aba3ac55 | |
| parent | 2261d465990dd7d46496c074fde7349e9bacb79e (diff) | |
ART: Replace an "ALWAYS_INLINE" with "inline" to fix build.
Change-Id: I61e6806737589266b36ab7a33561da7e1f8c02ca
| -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()); |