Skip to content

Fix missing <chrono> include in DefaultLogger.h - #450

Open
T-TrAt wants to merge 1 commit into
DanielChappuis:masterfrom
T-TrAt:fix-defaultlogger-chrono
Open

T-TrAt wants to merge 1 commit into
DanielChappuis:masterfrom
T-TrAt:fix-defaultlogger-chrono

Conversation

@T-TrAt

@T-TrAt T-TrAt commented Jul 23, 2026 •

Copy link
Copy Markdown

Summary

DefaultLogger.h uses std::chrono but does not explicitly include <chrono>.

This causes compilation errors when building ReactPhysics3D with my environment because the header relies on a transitive include.

Adding the missing include makes the header self-contained.

Testing

Environment:

  • Visual Studio 2022

  • MSVC 14.43.34808

  • Latest master

  • Default CMake configuration

Verification:

  • Build fails without this change.

  • Build succeeds after adding #include <chrono>.

Fixes #420

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

1 participant