Fix warning about uninitialized const member. NFC

llvm-svn: 272823
This commit is contained in:
Eric Fiselier 2016-06-15 19:48:26 +00:00
parent 1ff954f752
commit 567b755b7c
1 changed files with 1 additions and 0 deletions

View File

@ -22,6 +22,7 @@ typedef int A::*md2;
struct B : public A struct B : public A
{ {
B() : k(42), l(0) {} // explicitly initialize 'k' to prevent warnings.
const int k; const int k;
int l; int l;
}; };