forked from OSchip/llvm-project
Fix warning about uninitialized const member. NFC
llvm-svn: 272823
This commit is contained in:
parent
1ff954f752
commit
567b755b7c
|
@ -22,6 +22,7 @@ typedef int A::*md2;
|
|||
|
||||
struct B : public A
|
||||
{
|
||||
B() : k(42), l(0) {} // explicitly initialize 'k' to prevent warnings.
|
||||
const int k;
|
||||
int l;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue