summaryrefslogtreecommitdiff
path: root/core/pair.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/pair.h')
-rw-r--r--core/pair.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/core/pair.h b/core/pair.h
index cb661160b5..9afaa726cb 100644
--- a/core/pair.h
+++ b/core/pair.h
@@ -37,7 +37,11 @@ struct Pair {
F first;
S second;
- Pair() {}
+ Pair() :
+ first(),
+ second() {
+ }
+
Pair(F p_first, const S &p_second) :
first(p_first),
second(p_second) {