summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2024-03-06 20:57:27 (GMT)
committerBrad King <brad.king@kitware.com>2024-03-22 13:51:06 (GMT)
commit4d661e3a92b09362d4749af24e1cac79071adcfb (patch)
tree41219db03d50eb7b932fefcfdcedb89950c3d0af /Source/cmMakefile.cxx
parent5b2e78543160b6a9b767126f3ff2c5a4e4b139d1 (diff)
downloadCMake-4d661e3a92b09362d4749af24e1cac79071adcfb.zip
CMake-4d661e3a92b09362d4749af24e1cac79071adcfb.tar.gz
CMake-4d661e3a92b09362d4749af24e1cac79071adcfb.tar.bz2
cmMakefile: Reduce GetModulesFile caller allocations
Diffstat (limited to 'Source/cmMakefile.cxx')
-rw-r--r--Source/cmMakefile.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index bd24f83..ba9fab5 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -3906,8 +3906,8 @@ void cmMakefile::DisplayStatus(const std::string& message, float s) const
#endif
}
-std::string cmMakefile::GetModulesFile(const std::string& filename,
- bool& system, bool debug,
+std::string cmMakefile::GetModulesFile(cm::string_view filename, bool& system,
+ bool debug,
std::string& debugBuffer) const
{
std::string result;