From 8c05616c85f2a50d559eea5599e773e17d9f6484 Mon Sep 17 00:00:00 2001 From: =?utf8?q?=EB=B0=95=EC=A2=85=ED=98=84/=EB=8F=99=EC=9E=91=EC=A0=9C?= =?utf8?q?=EC=96=B4Lab=28SR=29/Senior=20Engineer/=EC=82=BC=EC=84=B1?= =?utf8?q?=EC=A0=84=EC=9E=90?= Date: Wed, 4 Apr 2018 15:41:39 +0900 Subject: [PATCH] [NNAPI Unittest] Fix environment variable setup (#411) This commit fix IntVar class to set an internal variable correctly from environments. Signed-off-by: Jonghyun Park --- tools/nnapi_unittests/lib/env.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/nnapi_unittests/lib/env.cpp b/tools/nnapi_unittests/lib/env.cpp index 1638dce..9d589cf 100644 --- a/tools/nnapi_unittests/lib/env.cpp +++ b/tools/nnapi_unittests/lib/env.cpp @@ -7,5 +7,5 @@ // IntVar::IntVar(const std::string &name, int32_t value) : _value{value} { - nnfw::util::env::IntAccessor{name}.access(value); + nnfw::util::env::IntAccessor{name}.access(_value); } -- 2.7.4