Skip to content

Commit 839b8c9

Browse files
committed
Add missing const
1 parent 8116049 commit 839b8c9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/sdk/SharedUtil.Crypto.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ namespace SharedUtil
204204
return result;
205205
}
206206

207-
inline bool StringToZLibFormat(std::string format, int &outResult)
207+
inline bool StringToZLibFormat(const std::string format, int &outResult)
208208
{
209209
int value = atoi(format.c_str());
210210
if ((value >= 9 && value <= 31) || (value >= -15 && value <= -9)) // allowed values: 9..31, -9..-15

0 commit comments

Comments
 (0)