diff options
Diffstat (limited to 'helpcompiler/source')
-rw-r--r-- | helpcompiler/source/HelpCompiler.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/helpcompiler/source/HelpCompiler.cxx b/helpcompiler/source/HelpCompiler.cxx index 57f3f5bca179..1431395a8b3d 100644 --- a/helpcompiler/source/HelpCompiler.cxx +++ b/helpcompiler/source/HelpCompiler.cxx @@ -87,7 +87,7 @@ void HelpCompiler::saveXhpForJar( xmlDocPtr doc, const fs::path &filePath ) #else std::string pathSep = "/"; #endif - const std::string& sourceXhpPath = filePath.native_file_string(); + const std::string sourceXhpPath = filePath.native_file_string(); std::string zipdirPath = zipdir.native_file_string(); const std::string srcdirPath( src.native_file_string() ); // srcdirPath contains trailing /, but we want the file path with / at the beginning |