Fix non-Windows build after r252906.

llvm-svn: 252909
This commit is contained in:
Zachary Turner
2015-11-12 17:01:48 +00:00
parent fd3fe9e45a
commit 02bf92d226
4 changed files with 5 additions and 4 deletions

View File

@@ -109,7 +109,7 @@ PythonObject::Str() const
}
PythonObject
PythonObject::ResolveNameWithDictionary(llvm::StringRef name, PythonDictionary dict)
PythonObject::ResolveNameWithDictionary(llvm::StringRef name, const PythonDictionary &dict)
{
size_t dot_pos = name.find_first_of('.');
llvm::StringRef piece = name.substr(0, dot_pos);