diff options
author | Andy Schwerin <schwerin@mongodb.com> | 2014-06-27 14:31:29 -0400 |
---|---|---|
committer | Andy Schwerin <schwerin@mongodb.com> | 2014-06-27 15:15:27 -0400 |
commit | cf9d8c3ff9733686326fa2a96cd654cd8be3818a (patch) | |
tree | 0d3b83613b810d71560605ab6f84e7b8497cdc07 /src/mongo/client/replica_set_monitor.h | |
parent | 207c8850f59a5f3ad113211167ad6844761ea264 (diff) | |
download | mongo-cf9d8c3ff9733686326fa2a96cd654cd8be3818a.tar.gz |
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
Diffstat (limited to 'src/mongo/client/replica_set_monitor.h')
-rw-r--r-- | src/mongo/client/replica_set_monitor.h | 3 |
1 files changed, 2 insertions, 1 deletions
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<ReplicaSetMonitor> ReplicaSetMonitorPtr; + typedef boost::shared_ptr<ReplicaSetMonitor> ReplicaSetMonitorPtr; /** * Holds state about a replica set and provides a means to refresh the local view. |