Andrew Geissler | 97771a3 | 2021-03-05 15:23:11 -0600 | [diff] [blame] | 1 | From 383b1dda4800c2514cb31446cd7478692d7d26cf Mon Sep 17 00:00:00 2001 |
| 2 | From: Khem Raj <raj.khem@gmail.com> |
| 3 | Date: Wed, 3 Mar 2021 12:43:16 -0800 |
| 4 | Subject: [PATCH] include needed c++ header |
| 5 | |
| 6 | Fixes |
| 7 | plan_stats.h:214:10: error: 'optional' in namespace 'std' does not name a template type |
| 8 | |
| 9 | Upstream-Status: Pending |
| 10 | Signed-off-by: Khem Raj <raj.khem@gmail.com> |
| 11 | --- |
| 12 | src/mongo/db/exec/plan_stats.h | 1 + |
| 13 | 1 file changed, 1 insertion(+) |
| 14 | |
| 15 | diff --git a/src/mongo/db/exec/plan_stats.h b/src/mongo/db/exec/plan_stats.h |
| 16 | index ea75f673b8..0cc9b4636d 100644 |
| 17 | --- a/src/mongo/db/exec/plan_stats.h |
| 18 | +++ b/src/mongo/db/exec/plan_stats.h |
| 19 | @@ -31,6 +31,7 @@ |
| 20 | |
| 21 | #include <cstdint> |
| 22 | #include <cstdlib> |
| 23 | +#include <optional> |
| 24 | #include <string> |
| 25 | #include <vector> |
| 26 | |
| 27 | -- |
| 28 | 2.30.1 |
| 29 | |