From cf9d8c3ff9733686326fa2a96cd654cd8be3818a Mon Sep 17 00:00:00 2001 From: Andy Schwerin Date: Fri, 27 Jun 2014 14:31:29 -0400 Subject: SERVER-14374 Include server_options.h as needed and apply the std:: namespace when missing. Previously, the affected files compiled because of indirect includes from hostandport.h --- src/mongo/client/replica_set_monitor.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/mongo/client/replica_set_monitor.h') diff --git a/src/mongo/client/replica_set_monitor.h b/src/mongo/client/replica_set_monitor.h index 3e289b9c65c..225aa749555 100644 --- a/src/mongo/client/replica_set_monitor.h +++ b/src/mongo/client/replica_set_monitor.h @@ -37,10 +37,11 @@ #include "mongo/util/net/hostandport.h" namespace mongo { + class BSONObj; class ReplicaSetMonitor; class TagSet; struct ReadPreferenceSetting; - typedef shared_ptr ReplicaSetMonitorPtr; + typedef boost::shared_ptr ReplicaSetMonitorPtr; /** * Holds state about a replica set and provides a means to refresh the local view. -- cgit v1.2.1