From 892803f21e0dd2d3c428b0c3a5407b104fb38ac9 Mon Sep 17 00:00:00 2001 From: John Denker Date: Sun, 27 Apr 2014 16:40:42 -0700 Subject: fix more bitrot --- tools/libltgrey.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tools/libltgrey.c') diff --git a/tools/libltgrey.c b/tools/libltgrey.c index 0538d5c..3b8379d 100644 --- a/tools/libltgrey.c +++ b/tools/libltgrey.c @@ -424,7 +424,7 @@ void whatsit::scan_box(const boxer mybox, const int copies){ if (is_directory(mydir)) { for (directory_iterator itr(mydir); itr!=directory_iterator(); ++itr) { - string basename = itr->path().filename(); + string basename = itr->path().filename().string(); if (is_regular_file(itr->status())) { if (prefix(mybox.prefix, basename)) { for (int ii = 0; ii < copies; ii++) -- cgit v1.2.3