diff options
author | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-02 21:01:01 +0200 |
---|---|---|
committer | Daniel Pfeifer <daniel@pfeifer-mail.de> | 2017-06-04 00:48:21 +0200 |
commit | b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd (patch) | |
tree | 3954dea8257e82f7be83a53519c43a7e9418526c /Source/cmFindProgramCommand.cxx | |
parent | 3216c2178cfcc75d48f383a76ccff4aa052b5fdc (diff) | |
download | cmake-b1ec5deaf15be459658b8fb0392e4d4a4ec1a0dd.tar.gz |
Pass large types by const&, small types by value
Diffstat (limited to 'Source/cmFindProgramCommand.cxx')
-rw-r--r-- | Source/cmFindProgramCommand.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmFindProgramCommand.cxx b/Source/cmFindProgramCommand.cxx index ea031cf201..9327c18053 100644 --- a/Source/cmFindProgramCommand.cxx +++ b/Source/cmFindProgramCommand.cxx @@ -212,7 +212,8 @@ std::string cmFindProgramCommand::FindAppBundle() return ""; } -std::string cmFindProgramCommand::GetBundleExecutable(std::string bundlePath) +std::string cmFindProgramCommand::GetBundleExecutable( + std::string const& bundlePath) { std::string executable; (void)bundlePath; |