From ea434398c7d064e408c4d79391372469dfd4ff03 Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 12 Jul 2018 21:43:39 +0900 Subject: [PATCH] lottieloader: file path for debug info. Change-Id: I551ef127032ac2a2dda36bb14b0bd5ffa2f5762e --- src/lottie/lottieloader.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/lottie/lottieloader.cpp b/src/lottie/lottieloader.cpp index e918490..3d42195 100644 --- a/src/lottie/lottieloader.cpp +++ b/src/lottie/lottieloader.cpp @@ -4,6 +4,8 @@ #include #include +using namespace std; + class LottieFileCache { public: @@ -62,7 +64,7 @@ bool LottieLoader::load(std::string &path) f.open(path); if (!f.is_open()) { - printf("failed to open \n"); + cout << "failed to open file = " << path.c_str() << endl; return false; } else { std::stringstream buf; -- 2.7.4