Skip to content

Commit d8f6faa

Browse files
committed
Take bool parameter in SetDisableAvailability
1 parent f6bf6dd commit d8f6faa

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

lldb/include/lldb/Target/Target.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -568,7 +568,9 @@ class EvaluateExpressionOptions {
568568

569569
bool GetPreparePlaygroundStubFunctions() const { return m_prepare_playground_stub_functions; }
570570

571-
void SetDisableAvailability() { m_disable_availability = true; }
571+
void SetDisableAvailability(bool disable = true) {
572+
m_disable_availability = disable;
573+
}
572574

573575
bool GetDisableAvailability() const { return m_disable_availability; }
574576

0 commit comments

Comments
 (0)