aboutsummaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/prime/prime.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/example/prime/prime.cc b/example/prime/prime.cc
index 93b7db5..17d437c 100644
--- a/example/prime/prime.cc
+++ b/example/prime/prime.cc
@@ -31,7 +31,7 @@ using removeMultiplesOf = tav::Remove<
template <typename Candidates>
struct Sieve {
- typedef tav::Cons<
+ typedef typename tav::Cons<
tav::Head<Candidates>,
typename Sieve<
typename removeMultiplesOf<
@@ -39,7 +39,7 @@ struct Sieve {
tav::Head<Candidates>
>::type
>::type
- > type;
+ >::type type;
};
template <>