From 2e819ccc4156dea31b1e5b7111a26f95b01546a4 Mon Sep 17 00:00:00 2001 From: Jason Molenda Date: Thu, 8 Sep 2016 02:29:40 +0000 Subject: [PATCH] I had a problem with one SDK where dispatch_release was actually a macro, so writing ::dispatch_release did not work as expected. Remove the global anon namespace :: designation; the header will get us the correct declaration. llvm-svn: 280903 --- lldb/source/Host/macosx/Host.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index 01231ce..c1b8f6e 100644 --- a/lldb/source/Host/macosx/Host.mm +++ b/lldb/source/Host/macosx/Host.mm @@ -1410,7 +1410,7 @@ HostThread Host::StartMonitoringChildProcess( if (source) { Host::MonitorChildProcessCallback callback_copy = callback; ::dispatch_source_set_cancel_handler(source, ^{ - ::dispatch_release(source); + dispatch_release(source); }); ::dispatch_source_set_event_handler(source, ^{ -- 2.7.4