threadsafety shall not warn about const vars (in C++11) For C++03 a new id threadsafety-const was created.
7 lines
64 B
C++
7 lines
64 B
C++
struct Dummy {
|
|
int x;
|
|
};
|
|
void func() {
|
|
static Dummy dummy;
|
|
}
|