Incorrect includes in compat/condition_variable

Incorrect includes in compat/condition_variable

I noticed that in the compat/condition_variable header there are #includes ofctime orsys/time.h headers within thetbb::interface5 namespace. I believe, including system headers within a namespace may break user's code in a non-obvious way, unless these headers are included prior tocompat/condition_variable. Could these includes be fixed?

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.

A good catch! Thank you for informing about the issue. It will be fixed.

Leave a Comment

Please sign in to add a comment. Not a member? Join today