Closed zwood-meta closed 11 months ago
This pull request was exported from Phabricator. Differential Revision: D48089821
This pull request was exported from Phabricator. Differential Revision: D48089821
This pull request was exported from Phabricator. Differential Revision: D48089821
This pull request has been merged in facebookincubator/dynolog@4544ba7fefd65424d0b404075c3701d12abcc3a2.
Summary: When testing the open source build, an error was found when building with GCC 12. This error stems from an indirect header inclusion that works in GCC 11, but is no longer available in GCC 12. The build error in GCC 12 is:
This diff fixes the issue by directly including the
<utility>
header for the usage ofstd::exchange
in theCpuEventsGroup.h
file.Differential Revision: D48089821