Fix Cppcheck warning
This commit is contained in:
parent
326765c632
commit
5ed2dbd5ef
|
@ -1266,7 +1266,7 @@ bool TemplateSimplifier::simplifyTemplateInstantiations(
|
||||||
TokenList& tokenlist,
|
TokenList& tokenlist,
|
||||||
ErrorLogger* errorlogger,
|
ErrorLogger* errorlogger,
|
||||||
const Settings *_settings,
|
const Settings *_settings,
|
||||||
const TokenAndName templateDeclaration,
|
const TokenAndName &templateDeclaration,
|
||||||
const std::time_t maxtime,
|
const std::time_t maxtime,
|
||||||
std::list<TokenAndName> &templateInstantiations,
|
std::list<TokenAndName> &templateInstantiations,
|
||||||
std::set<std::string> &expandedtemplates)
|
std::set<std::string> &expandedtemplates)
|
||||||
|
|
|
@ -156,7 +156,7 @@ public:
|
||||||
TokenList& tokenlist,
|
TokenList& tokenlist,
|
||||||
ErrorLogger* errorlogger,
|
ErrorLogger* errorlogger,
|
||||||
const Settings *_settings,
|
const Settings *_settings,
|
||||||
const TokenAndName templateDeclaration,
|
const TokenAndName &templateDeclaration,
|
||||||
const std::time_t maxtime,
|
const std::time_t maxtime,
|
||||||
std::list<TokenAndName> &templateInstantiations,
|
std::list<TokenAndName> &templateInstantiations,
|
||||||
std::set<std::string> &expandedtemplates);
|
std::set<std::string> &expandedtemplates);
|
||||||
|
|
Loading…
Reference in New Issue