From 6bbe864a2cf1cd83d25ea786a55660b51963e179 Mon Sep 17 00:00:00 2001 From: triton Date: Fri, 20 Sep 2013 15:11:37 +0100 Subject: [PATCH] Removed enum class in the new nested type test since it's not supported by VS2010. --- tests/Basic/Basic.cpp | 2 +- tests/Basic/Basic.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/Basic/Basic.cpp b/tests/Basic/Basic.cpp index ba16bcd2..66f52fdd 100644 --- a/tests/Basic/Basic.cpp +++ b/tests/Basic/Basic.cpp @@ -29,7 +29,7 @@ Bar::Bar() Bar::Item Bar::RetItem1() { - return Bar::Item::Item1; + return Bar::Item1; } Hello::Hello () diff --git a/tests/Basic/Basic.h b/tests/Basic/Basic.h index 6b2d4a66..78ecdcde 100644 --- a/tests/Basic/Basic.h +++ b/tests/Basic/Basic.h @@ -33,7 +33,7 @@ public: struct DLL_API Bar { - enum class Item + enum Item { Item1, Item2