diff --git a/llvm/unittests/ADT/TwineTest.cpp b/llvm/unittests/ADT/TwineTest.cpp index 8d3b6e3d54a0..0b7e88dee500 100644 --- a/llvm/unittests/ADT/TwineTest.cpp +++ b/llvm/unittests/ADT/TwineTest.cpp @@ -103,7 +103,7 @@ TEST(TwineTest, toNullTerminatedStringRef) { TEST(TwineTest, LazyEvaluation) { struct formatter : FormatAdapter { - explicit formatter(int &Count) : Count(Count), FormatAdapter(0) {} + explicit formatter(int &Count) : FormatAdapter(0), Count(Count) {} int &Count; void format(raw_ostream &OS, StringRef Style) { ++Count; }