projects
/
dcpomatic.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix build.
[dcpomatic.git]
/
test
/
optimise_stills_test.cc
diff --git
a/test/optimise_stills_test.cc
b/test/optimise_stills_test.cc
index 7bd7f3b8543aaf51e9f8ff574fffe7ed3c00f341..b939d29149fd95c28c20da419ce37cf49d7d514d 100644
(file)
--- a/
test/optimise_stills_test.cc
+++ b/
test/optimise_stills_test.cc
@@
-46,7
+46,8
@@
void
check (string name, int check_full, int check_repeat)
{
/* The encoder will have been destroyed so parse the logs */
check (string name, int check_full, int check_repeat)
{
/* The encoder will have been destroyed so parse the logs */
- ifstream log ("build/test/" + name + "/log");
+ string log_file = "build/test/" + name + "/log";
+ ifstream log (log_file.c_str());
string line;
int repeat = 0;
int full = 0;
string line;
int repeat = 0;
int full = 0;