Fix non-Windows build after r252906.

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

No files matched your search

@@ -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);