From 3e4073cd560ad800169458eda3d4ca19f9750b7e Mon Sep 17 00:00:00 2001 From: q66 Date: Sat, 5 Sep 2015 03:35:57 +0100 Subject: [PATCH] fix --- main.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.cc b/main.cc index b2e9dcc..e3af13c 100644 --- a/main.cc +++ b/main.cc @@ -201,7 +201,7 @@ static bool ob_expand_dir(String &ret, ConstCharRange dir, bool appended = false; if (!d.is_open()) return false; - for (auto &fi: d.iter()) { + for (auto fi: d.iter()) { ConstCharRange fn = fi.filename(); /* check if filename matches */ if (!ob_path_matches(fn, parts))