Skip to content

Commit fe77659

Browse files
Update checkbufferoverrun.h
1 parent 38af593 commit fe77659

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/checkbufferoverrun.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@ class CPPCHECKLIB CheckBufferOverrunImpl : public CheckImpl
129129
void objectIndex();
130130
void objectIndexError(const Token *tok, const ValueFlow::Value *v, bool known);
131131

132-
ValueFlow::Value getBufferSize(const Token *bufTok) const;
132+
ValueFlow::Value getBufferSize(const Token *bufTok, const Settings& settings) const;
133133

134134
// CTU
135135
static bool isCtuUnsafeBufferUsage(const Settings &settings, const Token *argtok, CTU::FileInfo::Value *offset, int type);

0 commit comments

Comments
 (0)