Details
-
Bug
-
Status: Closed
-
Major - P3
-
Resolution: Fixed
-
None
-
None
Description
The documentation at https://github.com/mongodb/mongo-cxx-driver/blob/master/CONTRIBUTING.md#headers incorrectly states that the `prelude` header should come before the driver headers. That is mistaken. The order should look like:
#pragma once
|
|
#include <vector>
|
|
#include <driver/blah.hpp>
|
|
#include <driver/config/prelude.hpp>
|
The codebase should also be audited and aligned with this ordering.