]> gcc.gnu.org Git - gcc.git/commit
libstdc++: Change class-key for duration and time_point to class
authorJonathan Wakely <jwakely@redhat.com>
Fri, 2 Dec 2022 16:18:43 +0000 (16:18 +0000)
committerJonathan Wakely <jwakely@redhat.com>
Fri, 9 Dec 2022 00:32:44 +0000 (00:32 +0000)
commit7eec3114ebe8d4c55c64b4e47546d3d8f95eb09b
tree90dadf637cf2c5fbd66a57d8426d99ab6a4b7f0d
parente6110da479951b759a12c5618f5304187b650326
libstdc++: Change class-key for duration and time_point to class

We define these with the 'struct' keyword, but the standard uses
'class'. This results in warnings if users try to refer to them using
elaborated type specifiers.

libstdc++-v3/ChangeLog:

* include/bits/chrono.h (duration, time_point): Change 'struct'
to 'class'.
libstdc++-v3/include/bits/chrono.h
This page took 0.060236 seconds and 6 git commands to generate.