Permalink
Browse files

Clang (Apple 4.0) now properly supports Tut test functions so remove …

…the previous hack
  • Loading branch information...
1 parent 9f26abb commit 9c4cacd430ec493a8015a515d4afc5f6fda43215 @FooBarWidget FooBarWidget committed Aug 28, 2012
Showing with 3 additions and 9 deletions.
  1. +3 −9 test/tut/tut.h
View
@@ -69,15 +69,9 @@ static int setenv(const char *name, const char *value, int override) {
typedef factory::object object; \
factory name## _group(#name)
-#ifdef __clang__
- #define TEST_METHOD(i) \
- template<> \
- void object::test<i>()
-#else
- #define TEST_METHOD(i) \
- template<> template<> \
- void object::test<i>()
-#endif
+#define TEST_METHOD(i) \
+ template<> template<> \
+ void object::test<i>()
/**
* Template Unit Tests Framework for C++.

0 comments on commit 9c4cacd

Please sign in to comment.