mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
Addressed review comments to use ThreadSafe instead of !ThreadSafe
This commit is contained in:
parent
fc95de38d9
commit
c133fe141f
@ -735,9 +735,9 @@ DWARFContext::DWARFContext(std::unique_ptr<const DWARFObject> DObj,
|
||||
RecoverableErrorHandler(RecoverableErrorHandler),
|
||||
WarningHandler(WarningHandler), DObj(std::move(DObj)) {
|
||||
if (ThreadSafe)
|
||||
State.reset(new ThreadUnsafeDWARFContextState(*this, DWPName));
|
||||
else
|
||||
State.reset(new ThreadSafeState(*this, DWPName));
|
||||
else
|
||||
State.reset(new ThreadUnsafeDWARFContextState(*this, DWPName));
|
||||
}
|
||||
|
||||
DWARFContext::~DWARFContext() = default;
|
||||
|
Loading…
Reference in New Issue
Block a user