From 02bf92d22651dd7feb2828974fdcc5dc0e23ddfb Mon Sep 17 00:00:00 2001 From: Zachary Turner Date: Thu, 12 Nov 2015 17:01:48 +0000 Subject: Fix non-Windows build after r252906. llvm-svn: 252909 --- lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h') diff --git a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h index 3794cc04a65..a23052f6871 100644 --- a/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h +++ b/lldb/source/Plugins/ScriptInterpreter/Python/PythonDataObjects.h @@ -205,11 +205,11 @@ public: Str() const; static PythonObject - ResolveNameWithDictionary(llvm::StringRef name, PythonDictionary dict); + ResolveNameWithDictionary(llvm::StringRef name, const PythonDictionary &dict); template static T - ResolveNameWithDictionary(llvm::StringRef name, PythonDictionary dict) + ResolveNameWithDictionary(llvm::StringRef name, const PythonDictionary &dict) { return ResolveNameWithDictionary(name, dict).AsType(); } -- cgit v1.2.3