Skip to content

Commit 132349c

Browse files
committed
Coverity: Fix 1595785 Use of auto that causes a copy
1 parent 7a370a4 commit 132349c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/loader/layers/sanitizer/asan_options.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ struct AsanOptions {
112112

113113
KV = OptionsEnvMap->find("redzone");
114114
if (KV != OptionsEnvMap->end()) {
115-
auto Value = KV->second.front();
115+
const auto &Value = KV->second.front();
116116
try {
117117
MinRZSize = std::stoul(Value);
118118
if (MinRZSize < 16) {

0 commit comments

Comments
 (0)