diff options
author | Marek Polacek <polacek@redhat.com> | 2024-02-03 09:47:17 -0500 |
---|---|---|
committer | Marek Polacek <polacek@redhat.com> | 2024-02-05 10:31:28 -0500 |
commit | 8ca585e56c1d6837f96ddd88c13ed1e815c74f93 (patch) | |
tree | b5cf64899dc222032a4bfb690acaf9c852fb9bef /gcc | |
parent | 23f1b496aa6c7015a2b986aa183041c722104779 (diff) | |
download | gcc-8ca585e56c1d6837f96ddd88c13ed1e815c74f93.zip gcc-8ca585e56c1d6837f96ddd88c13ed1e815c74f93.tar.gz gcc-8ca585e56c1d6837f96ddd88c13ed1e815c74f93.tar.bz2 |
libitm: small update for C++20
C++20 DR 2237 disallows simple-template-id in cdtors, so you
can't write
template<typename T>
struct S {
S<T>(); // should be S();
};
This hasn't been a problem until now but I'm adding a warning about it
to -Wc++20-compat which libitm apparently uses.
libitm/ChangeLog:
* containers.h (vector): Remove the template-id in constructors.
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions