lottieloader: file path for debug info.
authorHermet Park <hermetpark@gmail.com>
Thu, 12 Jul 2018 12:43:39 +0000 (21:43 +0900)
committersubhransu mohanty <sub.mohanty@samsung.com>
Mon, 16 Jul 2018 03:07:42 +0000 (12:07 +0900)
Change-Id: I551ef127032ac2a2dda36bb14b0bd5ffa2f5762e

src/lottie/lottieloader.cpp

index e918490..3d42195 100644 (file)
@@ -4,6 +4,8 @@
 #include<fstream>
 #include<unordered_map>
 
+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;