summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/ntuple.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/src/util/ntuple.h b/src/util/ntuple.h
index a3b0dfdf4..4c9a033a1 100644
--- a/src/util/ntuple.h
+++ b/src/util/ntuple.h
@@ -45,12 +45,9 @@ public:
T2 second;
T3 third;
T4 fourth;
- quad(const T1& t1, const T2& t2, const T3& t3, const T4& t4) {
- first = t1;
- second = t2;
- third = t3;
- fourth = t4;
- }
+ quad(const T1& t1, const T2& t2, const T3& t3, const T4& t4)
+ : first(t1), second(t2), third(t3), fourth(t4)
+ { }
};/* class quad<> */
template <class T1, class T2, class T3, class T4>
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback