Fix warning converting from void* to boolean introduced in r301153.

llvm-svn: 301155
This commit is contained in:
Frederich Munch 2017-04-24 02:51:40 +00:00
parent 0cdcdf018e
commit c152a96350
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ public:
Handles.push_back(Handle);
} else {
#ifndef LLVM_ON_WIN32
if (Process) {
if (Process != nullptr) {
if (CanClose)
DLClose(Process);
if (Process == Handle)