summaryrefslogtreecommitdiff
path: root/compiler/dex/inline_method_analyser.cc
diff options
context:
space:
mode:
author Treehugger Robot <treehugger-gerrit@google.com> 2018-09-25 00:36:43 +0000
committer Gerrit Code Review <noreply-gerritcodereview@google.com> 2018-09-25 00:36:43 +0000
commitfc4b2eaa427e43a51c6f39ffecac0ef4fa732b61 (patch)
treeb6bc4cd9bc846ae40eac280dbc2c9514e05a0f7b /compiler/dex/inline_method_analyser.cc
parent26f048f48cdb1e884aab2b6fddf26d58346d29ad (diff)
parentc55bb390d88b8eb62a50932f7f9b47c2a3733f16 (diff)
Merge "Revert^2 "ART: Refactor typedef to using""
Diffstat (limited to 'compiler/dex/inline_method_analyser.cc')
-rw-r--r--compiler/dex/inline_method_analyser.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc
index fe8b766d0f..183173b298 100644
--- a/compiler/dex/inline_method_analyser.cc
+++ b/compiler/dex/inline_method_analyser.cc
@@ -41,7 +41,7 @@ namespace { // anonymous namespace
class Matcher {
public:
// Match function type.
- typedef bool MatchFn(Matcher* matcher);
+ using MatchFn = bool(Matcher*);
template <size_t size>
static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]);