From ee07743e03042c2ca36e0c9513847a9e7d2509f1 Mon Sep 17 00:00:00 2001 From: Andreas Gampe Date: Thu, 20 Sep 2018 15:05:17 +0000 Subject: Revert "ART: Refactor typedef to using" This reverts commit 9a20ff06f7ccee08a742c315ec6d351ab56ba1cd. Reason for revert: Attributes on the wrong side. Bug: 32619234 Change-Id: I8fd2abef619b22c02ccfbf5ae629339f1a60918b --- compiler/dex/inline_method_analyser.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compiler/dex/inline_method_analyser.cc') diff --git a/compiler/dex/inline_method_analyser.cc b/compiler/dex/inline_method_analyser.cc index 183173b298..fe8b766d0f 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. - using MatchFn = bool(Matcher*); + typedef bool MatchFn(Matcher* matcher); template static bool Match(const CodeItemDataAccessor* code_item, MatchFn* const (&pattern)[size]); -- cgit v1.2.3-59-g8ed1b