Skip to content

Commit 6b6d83a

Browse files
committed
CXX-266 ensure basic.h is included where needed
1 parent 82bca96 commit 6b6d83a

27 files changed

+54
-0
lines changed

src/mongo/bson/oid.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18+
#include "mongo/platform/basic.h"
19+
1820
#include <boost/scoped_ptr.hpp>
1921
#include <boost/functional/hash.hpp>
2022

src/mongo/client/command_writer.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/command_writer.h"
1719

1820
#include "mongo/client/dbclientinterface.h"

src/mongo/client/connpool.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818

1919
// _ todo: reconnect?
2020

21+
#include "mongo/platform/basic.h"
22+
2123
#include "mongo/client/connpool.h"
2224

2325
#include <boost/thread/locks.hpp>

src/mongo/client/dbclient_rs.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/dbclient_rs.h"
1719

1820
#include <memory>

src/mongo/client/dbclientcursor.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18+
#include "mongo/platform/basic.h"
19+
1820
#include "mongo/client/dbclientcursor.h"
1921

2022
#include "mongo/client/connpool.h"

src/mongo/client/dbclientcursorshimarray.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/dbclientcursorshimarray.h"
1719
#include "mongo/client/dbclientcursor.h"
1820

src/mongo/client/dbclientcursorshimcursorid.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/dbclientcursor.h"
1719
#include "mongo/client/dbclientcursorshimarray.h"
1820
#include "mongo/client/dbclientcursorshimcursorid.h"

src/mongo/client/delete_write_operation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/delete_write_operation.h"
1719

1820
#include "mongo/client/dbclientinterface.h"

src/mongo/client/gridfs.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@
1515
* limitations under the License.
1616
*/
1717

18+
#include "mongo/platform/basic.h"
19+
1820
#include "mongo/client/gridfs.h"
1921

2022
#include <algorithm>

src/mongo/client/insert_write_operation.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313
* limitations under the License.
1414
*/
1515

16+
#include "mongo/platform/basic.h"
17+
1618
#include "mongo/client/insert_write_operation.h"
1719

1820
#include "mongo/client/dbclientinterface.h"

0 commit comments

Comments
 (0)