From cb27740de48a89befb124e805440661c82940299 Mon Sep 17 00:00:00 2001 From: fm Date: Thu, 5 Sep 2013 14:26:21 +0400 Subject: [PATCH] Linux compilation --- modules/photo/test/test_hdr.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/photo/test/test_hdr.cpp b/modules/photo/test/test_hdr.cpp index efc3774..569f3a3 100644 --- a/modules/photo/test/test_hdr.cpp +++ b/modules/photo/test/test_hdr.cpp @@ -79,7 +79,7 @@ void loadExposureSeq(String path, vector& images, vector& times = DE void loadResponseCSV(String path, Mat& response) { response = Mat(256, 1, CV_32FC3); - ifstream resp_file(path); + ifstream resp_file(path.c_str()); for(int i = 0; i < 256; i++) { for(int c = 0; c < 3; c++) { resp_file >> response.at(i)[c]; -- 2.7.4