diff options
author | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-19 12:24:41 (GMT) |
---|---|---|
committer | Vladimír Vondruš <mosra@centrum.cz> | 2017-11-19 12:24:41 (GMT) |
commit | ebf75c1fe8a0ff2cc9235155b6d63367944d6342 (patch) | |
tree | 82bdb1c1c02d1241022b6756944ccf5c1a60cc91 /src/util.h | |
parent | d8001efd89146e04d92f5ea41ab27a7de09b6c53 (diff) | |
download | Doxygen-ebf75c1fe8a0ff2cc9235155b6d63367944d6342.zip Doxygen-ebf75c1fe8a0ff2cc9235155b6d63367944d6342.tar.gz Doxygen-ebf75c1fe8a0ff2cc9235155b6d63367944d6342.tar.bz2 |
Pass strings as const references.
It has refcounting, copy-on-write and all, but this is still better.
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -384,7 +384,7 @@ QCString stripLeadingAndTrailingEmptyLines(const QCString &s,int &docLine); // const QCString &anchor=""); bool updateLanguageMapping(const QCString &extension,const QCString &parser); -SrcLangExt getLanguageFromFileName(const QCString fileName); +SrcLangExt getLanguageFromFileName(const QCString& fileName); void initDefaultExtensionMapping(); void addCodeOnlyMappings(); |