From 24f3dee6ca075ae51953e1712cd36db6c0fd4d94 Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Tue, 8 Jul 2014 04:28:07 +0000 Subject: Fix a compilation failure caused by a non-const reference. llvm-svn: 212509 --- lldb/source/Interpreter/CommandOptionValidators.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lldb/source/Interpreter/CommandOptionValidators.cpp') diff --git a/lldb/source/Interpreter/CommandOptionValidators.cpp b/lldb/source/Interpreter/CommandOptionValidators.cpp index c9f3e3b4635..7d66de53c0b 100644 --- a/lldb/source/Interpreter/CommandOptionValidators.cpp +++ b/lldb/source/Interpreter/CommandOptionValidators.cpp @@ -15,7 +15,7 @@ using namespace lldb; using namespace lldb_private; -bool PosixPlatformCommandOptionValidator::IsValid(Platform &platform, ExecutionContext &target) const +bool PosixPlatformCommandOptionValidator::IsValid(Platform &platform, const ExecutionContext &target) const { llvm::Triple::OSType os = platform.GetSystemArchitecture().GetTriple().getOS(); switch (os) -- cgit v1.2.3