Formatting.

This commit is contained in:
Frederich Munch 2017-02-09 11:37:08 -05:00 committed by sftnight
parent cf0019ab82
commit 4b4fe0ec9e
2 changed files with 3 additions and 3 deletions

View File

@ -97,7 +97,7 @@ namespace cling {
/// other error was encountered.
///
LoadLibResult loadLibrary(const std::string& libStem, bool permanent,
bool resolved = false );
bool resolved = false);
void unloadLibrary(llvm::StringRef libStem);

View File

@ -194,8 +194,8 @@ namespace cling {
DynamicLibraryManager::LoadLibResult
DynamicLibraryManager::loadLibrary(const std::string& libStem,
bool permanent, bool resolved) {
std::string lResolved;
const std::string &canonicalLoadedLib = resolved ? libStem : lResolved;
std::string lResolved;
const std::string& canonicalLoadedLib = resolved ? libStem : lResolved;
if (!resolved) {
lResolved = lookupLibrary(libStem);
if (lResolved.empty())