[Lldb-commits] [lldb] r296595 - Fix gcc compilation of LogTest.cpp

Pavel Labath via lldb-commits lldb-commits at lists.llvm.org
Wed Mar 1 02:08:51 PST 2017


Author: labath
Date: Wed Mar  1 04:08:51 2017
New Revision: 296595

URL: http://llvm.org/viewvc/llvm-project?rev=296595&view=rev
Log:
Fix gcc compilation of LogTest.cpp

Modified:
    lldb/trunk/unittests/Core/LogTest.cpp

Modified: lldb/trunk/unittests/Core/LogTest.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/Core/LogTest.cpp?rev=296595&r1=296594&r2=296595&view=diff
==============================================================================
--- lldb/trunk/unittests/Core/LogTest.cpp (original)
+++ lldb/trunk/unittests/Core/LogTest.cpp Wed Mar  1 04:08:51 2017
@@ -20,7 +20,7 @@ using namespace lldb_private;
 
 enum { FOO = 1, BAR = 2 };
 static constexpr Log::Category test_categories[] = {
-    {"foo", "log foo", FOO}, {"bar", "log bar", BAR},
+    {{"foo"}, {"log foo"}, FOO}, {{"bar"}, {"log bar"}, BAR},
 };
 static constexpr uint32_t default_flags = FOO;
 




More information about the lldb-commits mailing list