Skip to content

Commit

Permalink
Refs #9782. Const string reference
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Wedel committed Aug 15, 2014
1 parent bb5616b commit d96c282
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -223,7 +223,7 @@ class DLLExport AutoDiffParameterAdapter
}

/// Returns the parameter with supplied name. Throws std::
const adept::adouble &getParameter(std::string name) const
const adept::adouble &getParameter(const std::string &name) const
{
auto it = m_names.find(name);
if(it == m_names.end()) {
Expand Down

0 comments on commit d96c282

Please sign in to comment.