diff options
Diffstat (limited to 'core/pair.h')
-rw-r--r-- | core/pair.h | 6 |
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) { |