From 68b35c75588f5702a142c8232d5e805bfe276c72 Mon Sep 17 00:00:00 2001 From: Noel Grandin Date: Wed, 8 Apr 2015 15:36:06 +0200 Subject: convert RTReferenceType to scoped enum Change-Id: I8320f6f42d5579fbd09450ddca61c4c066de98e4 --- registry/tools/regcompare.cxx | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'registry/tools') diff --git a/registry/tools/regcompare.cxx b/registry/tools/regcompare.cxx index e85eff8dea7e..8d4d4221bc5d 100644 --- a/registry/tools/regcompare.cxx +++ b/registry/tools/regcompare.cxx @@ -886,16 +886,16 @@ static char const * getReferenceType(RTReferenceType refType) { switch (refType) { - case RT_REF_SUPPORTS: - return "RT_REF_SUPPORTS"; - case RT_REF_OBSERVES: - return "RT_REF_OBSERVES"; - case RT_REF_EXPORTS: - return "RT_REF_EXPORTS"; - case RT_REF_NEEDS: - return "RT_REF_NEEDS"; + case RTReferenceType::SUPPORTS: + return "RTReferenceType::SUPPORTS"; + case RTReferenceType::OBSERVES: + return "RTReferenceType::OBSERVES"; + case RTReferenceType::EXPORTS: + return "RTReferenceType::EXPORTS"; + case RTReferenceType::NEEDS: + return "RTReferenceType::NEEDS"; default: - return "RT_REF_INVALID"; + return "RTReferenceType::INVALID"; } } -- cgit