Skip to content

Commit 2f288f9

Browse files
committed
Merge pull request opencv#14227 from dkurt:fix_build_with_ie
2 parents 341e2fa + 07655c2 commit 2f288f9

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

modules/dnn/test/test_ie_models.cpp

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -178,12 +178,13 @@ TEST_P(DNNTestOpenVINO, models)
178178
Target target = (dnn::Target)(int)get<0>(GetParam());
179179
std::string modelName = get<1>(GetParam());
180180
std::string precision = (target == DNN_TARGET_OPENCL_FP16 || target == DNN_TARGET_MYRIAD) ? "FP16" : "FP32";
181+
std::string prefix;
181182

182183
#ifdef INF_ENGINE_RELEASE
183184
#if INF_ENGINE_RELEASE <= 2018050000
184-
std::string prefix = utils::fs::join("intel_models",
185-
utils::fs::join(modelName,
186-
utils::fs::join(precision, modelName)));
185+
prefix = utils::fs::join("intel_models",
186+
utils::fs::join(modelName,
187+
utils::fs::join(precision, modelName)));
187188
#endif
188189
#endif
189190

0 commit comments

Comments
 (0)