Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
DynamicLibraryManager::loadLibrary if the parameter resolve is false
The error occurs only when `loadLibrary()` is called with the argument `resolved = false`. A const string reference is not possible here because a temporary copy of lResolved would be referenced. The return type of libStem.str() has the value type prvalue. Therefore, lResolved requires the same type and the compiler inserts a copy constructor to satisfy this. For more details see rule 3.3.1 here: https://en.cppreference.com/w/cpp/language/operator_other#Conditional_operator
- Loading branch information