From 247da74f27e3020cb54b3106e3c2153c83d88e27 Mon Sep 17 00:00:00 2001
From: zhangmeng <775834166@qq.com>
Date: 星期四, 21 十一月 2019 15:23:10 +0800
Subject: [PATCH] update

---
 csrc/wrapper.cpp |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/csrc/wrapper.cpp b/csrc/wrapper.cpp
index 373ec37..d1cbfbf 100644
--- a/csrc/wrapper.cpp
+++ b/csrc/wrapper.cpp
@@ -202,7 +202,7 @@
             int64_t v_id = id;
             int64_t a_id = id;
 
-            bool exist = access(input_url_.c_str(), 0) == 0 ? true : false;
+            bool exist = access(input_url_.c_str(), 0) == 0;
 
             while(!stop_stream_.load()){
                 auto data(std::make_shared<CodedData>());

--
Gitblit v1.8.0