aboutsummaryrefslogtreecommitdiff
path: root/gcc/expr.cc
diff options
context:
space:
mode:
authorJonathan Wakely <jwakely@redhat.com>2023-03-09 15:04:45 +0000
committerJonathan Wakely <jwakely@redhat.com>2023-03-14 10:28:38 +0000
commit4d771291f70dab571e7c18f9f5f8af4f27737244 (patch)
treef2fc6ece85e777360869db55ba0bcf4e1dbb9cff /gcc/expr.cc
parentf50f55b8fa9bbce91fc4a56c8c1cac614520d0b4 (diff)
downloadgcc-4d771291f70dab571e7c18f9f5f8af4f27737244.zip
gcc-4d771291f70dab571e7c18f9f5f8af4f27737244.tar.gz
gcc-4d771291f70dab571e7c18f9f5f8af4f27737244.tar.bz2
libstdc++: Fix preprocessor condition for inline variables
Although variable templates are valid in C++14, inline ones aren't. These are only used in C++17 (or later) code, so they don't need to be defined for C++14. libstdc++-v3/ChangeLog: * include/bits/chrono.h (__is_duration_v, __is_time_point_v): Only define for C++17 and later.
Diffstat (limited to 'gcc/expr.cc')
0 files changed, 0 insertions, 0 deletions