Skip to content

Commit

Permalink
Fix compilation for GCC 13 (#961)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkloberdanz committed May 4, 2023
1 parent 15756bf commit 29aa340
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/mongocxx/events/heartbeat_failed_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#pragma once

#include <cstdint>

#include <bsoncxx/stdx/string_view.hpp>

#include <mongocxx/config/prelude.hpp>
Expand Down
2 changes: 2 additions & 0 deletions src/mongocxx/events/heartbeat_started_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#pragma once

#include <cstdint>

#include <bsoncxx/stdx/string_view.hpp>

#include <mongocxx/config/prelude.hpp>
Expand Down
2 changes: 2 additions & 0 deletions src/mongocxx/events/server_closed_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#pragma once

#include <cstdint>

#include <bsoncxx/oid.hpp>
#include <bsoncxx/stdx/string_view.hpp>

Expand Down
2 changes: 2 additions & 0 deletions src/mongocxx/events/server_opening_event.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@

#pragma once

#include <cstdint>

#include <bsoncxx/oid.hpp>

#include <mongocxx/config/prelude.hpp>
Expand Down
1 change: 1 addition & 0 deletions src/mongocxx/exception/error_code.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#pragma once

#include <cstdint>
#include <system_error>

#include <mongocxx/config/prelude.hpp>
Expand Down
1 change: 1 addition & 0 deletions src/mongocxx/exception/server_error_code.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@

#pragma once

#include <cstdint>
#include <system_error>

#include <mongocxx/config/prelude.hpp>
Expand Down

0 comments on commit 29aa340

Please sign in to comment.