diff options
author | Jason Molenda <jmolenda@apple.com> | 2016-09-08 02:29:40 +0000 |
---|---|---|
committer | Jason Molenda <jmolenda@apple.com> | 2016-09-08 02:29:40 +0000 |
commit | 2e819ccc4156dea31b1e5b7111a26f95b01546a4 (patch) | |
tree | 757b14dc99c8ee916fc9923aabf55d09d8b7c685 | |
parent | f81f15a7061c7725a4287bde548bb5e437805863 (diff) | |
download | bcm5719-llvm-2e819ccc4156dea31b1e5b7111a26f95b01546a4.tar.gz bcm5719-llvm-2e819ccc4156dea31b1e5b7111a26f95b01546a4.zip |
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
-rw-r--r-- | lldb/source/Host/macosx/Host.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lldb/source/Host/macosx/Host.mm b/lldb/source/Host/macosx/Host.mm index 01231ce2792..c1b8f6e1865 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, ^{ |