summaryrefslogtreecommitdiff
blob: 9997dd57a2c1cbb39d902aaa8d2154e4edca7631 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Fix missing implicit include.
Patch by Jan-Matthias Braun
See also: https://bugs.gentoo.org/show_bug.cgi?id=598340

--- a/src/mongo/client/examples/connect.cpp
+++ b/src/mongo/client/examples/connect.cpp
@@ -29,6 +29,8 @@
 #include "mongo/client/dbclient.h"
 #include "mongo/stdx/functional.h"
 
+#include <boost/core/ref.hpp>
+
 namespace {
 
 class OstreamAppender : public mongo::logger::MessageLogDomain::EventAppender {