summaryrefslogtreecommitdiffstats
path: root/src/Generating
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/Generating/IntGen.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/src/Generating/IntGen.h b/src/Generating/IntGen.h
index 1ffc15c6b..fac500fa8 100644
--- a/src/Generating/IntGen.h
+++ b/src/Generating/IntGen.h
@@ -73,14 +73,19 @@ public:
// Code adapted from http://stackoverflow.com/questions/7858817/unpacking-a-tuple-to-call-a-matching-function-pointer
template<int ...>
-struct seq { };
+struct seq
+{
+};
template<int N, int ...S>
-struct gens : gens<N-1, N-1, S...> { };
+struct gens : gens<N-1, N-1, S...>
+{
+};
template<int ...S>
-struct gens<0, S...> {
- typedef seq<S...> type;
+struct gens<0, S...>
+{
+ typedef seq<S...> type;
};